Function to report all timings for a specified category prefix through Mojo.Log.info.
| Parameter | Type | Description |
|---|---|---|
| prefix | String | Identifies which timings to report. |
| label | String | Label displayed in timing output. |
Example usage:
layoutCount = sceneWindow.layoutCount;
Mojo.Log.info(Mojo.Timing.reportTiming('scene#', "scene '" + sceneName + "': layouts: " + layoutCount));







0 Comments