hacks/profiling/readme.txt
author William Roberts <williamr@symbian.org>
Tue, 02 Nov 2010 12:49:05 +0000
changeset 100 6dfa3bdbdfba
parent 37 b8aae0a088d8
permissions -rw-r--r--
Add --options argument to pass in the (comma separated lists of) prefixes for optional "What" commands For example, the use of vfp version of OpenVG could be indicated by "vfp_Stem", in which case the alteration will only be made if "--options vfp" is included on the filter_obyfile.pl command line.

Profiling:

This is a simple tool that will start the sampling profiler, wait a given period (default = 5mins) and then stop, and unload the profiler.
Add it to your rom, and to somewhere (early!) in your startup sequence to find out what's happening during a boot sequence.

Argument: -time=<n>
<n> is the number of milliseconds to wait before stopping the profiler.


You can put something like this in a startup command list:

// ---------------------------------------------------------------------------

// r_cmd_profiling

// ---------------------------------------------------------------------------

//

RESOURCE SSM_START_PROCESS_INFO r_cmd_profiling

    {

    priority = 0xFE01;

    execution_behaviour = ESsmFireAndForget;

    name = "Z:\\sys\\bin\\startupprofiling.exe";

    args = "-time=600000000";

    severity = ECmdCriticalSeverity;

    }