hacks/profiling/readme.txt
author markw <markw@symbian.org>
Wed, 20 Oct 2010 17:08:15 +0100
changeset 73 59f45c8582d3
parent 37 b8aae0a088d8
permissions -rw-r--r--
Resolve ROM linking issues (via use of NOEXPORTLIBRARY in MMP files) and update rom content and static dependencies. Stemkit Syborg ROM now built with VFP OpenVG software reference by default.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     1
Profiling:
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     2
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     3
This is a simple tool that will start the sampling profiler, wait a given period (default = 5mins) and then stop, and unload the profiler.
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     4
Add it to your rom, and to somewhere (early!) in your startup sequence to find out what's happening during a boot sequence.
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     5
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     6
Argument: -time=<n>
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     7
<n> is the number of milliseconds to wait before stopping the profiler.
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     8
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     9
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    10
You can put something like this in a startup command list:
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    11
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    12
// ---------------------------------------------------------------------------
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    13
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    14
// r_cmd_profiling
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    15
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    16
// ---------------------------------------------------------------------------
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    17
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    18
//
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    19
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    20
RESOURCE SSM_START_PROCESS_INFO r_cmd_profiling
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    21
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    22
    {
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    23
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    24
    priority = 0xFE01;
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    25
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    26
    execution_behaviour = ESsmFireAndForget;
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    27
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    28
    name = "Z:\\sys\\bin\\startupprofiling.exe";
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    29
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    30
    args = "-time=600000000";
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    31
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    32
    severity = ECmdCriticalSeverity;
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    33
b8aae0a088d8 Adding "Profiling Starter" app so we can see what's going on during boot
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    34
    }