www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Timing.reportTiming(prefix, label)

Mojo.Timing.reportTiming(prefix, label)

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

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)