Changes between Version 5 and Version 6 of QtWebKitProfilingSetup


Ignore:
Timestamp:
Sep 30, 2009 9:42:51 PM (15 years ago)
Author:
zecke@selfish.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitProfilingSetup

    v5 v6  
    2525[http://oprofile.sf.net OProfile] was choosen for profiling as it is included in the kernel by default and has ARMv7 support. One requirement for it to generate calltraces for userspace application is that they were compiled using the `-fno-omit-frame-pointer` switch. Angstrom is created by using [http://openembedded.org OpenEmbedded] which allows to easily recompile the distribution with different compiler flags. In this case the whole distribution was built with `-fno-omit-frame-pointer`. [http://oprofile.sf.net OProfile] is working by interrupting the execution, then checking which application and instruction was executed and then generating a callstack for the execution. The oprofiled application is reading these samples from the kernel and storing them to disk. The nature of this tool means that it will not exactly tell you how often certain methods were executed.
    2626
     27For testing the execution the [http://qt.nokia.com/doc/4.5/qtestlib-tutorial5.html built-in benchmarking] support of [http://qt.nokia.com/doc/4.5/qtestlib-manual.html QtTest] was used. This tool provides different event counters and options to control the iterations of the test. This can and should be used when executing the test once has too many variations.
     28
     29
     30