Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Name: CygProfiler instrumentation for -finstrument-functions | |
| 2 Short Name: CygProfiler | |
| 3 URL: http://www.logix.cz/michal/devel/CygProfiler/ | |
| 4 Version: 0 | |
| 5 Date: N/A | |
| 6 Revision: N/A | |
| 7 License: public domain | |
| 8 License File: LICENSE | |
| 9 Security Critical: No | |
|
Steve Block
2012/08/03 16:53:22
Thanks for providing this metadata. Please add thi
| |
| 10 | |
| 11 Description: | |
| 12 Implementation of instrumentation functions for use with gcc's | |
| 13 -finstrument-functions option. | |
| 14 | |
| 15 Local Modifications: | |
|
Steve Block
2012/08/03 16:53:22
Do these apply to the Android or 'regular' version
| |
| 16 09/07/2011: Original unmodified version of code added to third_party | |
| 17 | |
| 18 09/08/2011: cyg-profile.c was removed and replaced with the cyg-profile.cc file. | |
| 19 The style has been changed to fit Google's style guide. Logging and format | |
| 20 changed to log only first entry of a function. Logs virtual address of code | |
| 21 section which contains profiled code, and logs timestamps of calls. The | |
| 22 implementation was also made thread-safe with the use of stdlib sets and a | |
| 23 pthread mutex. | |
| 24 | |
| 25 01/23/2012: Android: enable profiling on first __cyg_profile_func_enter() call. | |
| 26 This is useful to profile the large number of static initializers used | |
| 27 by Chromium on this platform. | |
| 28 | |
| 29 07/03/2012: | |
| 30 Moving third_party/cygprofile/ to base/android/third_party/cygprofile/. This | |
| 31 implementation is currently only being used by Android and is so different from | |
| 32 the original version that it makes more sense to move to base/android/. There is | |
| 33 yet another implementation of cygprofile in //tools/cygprofile/ which is being | |
| 34 used by Chromium, that is also different from the open-source version, and | |
| 35 different from the version used by Android. | |
| 36 | |
| 37 07/04/2012: Renaming base/android/third_party/cygprofile/ to cygprofile_startup | |
| 38 since this version only collects profiling information from the first time a | |
| 39 function is run. This has been used to investigate ways to improve Chrome for | |
| 40 Android startup time. | |
| 41 | |
| 42 07/18/2012: Renaming and moving //base/android/third_party/cygprofile_startup to | |
|
Steve Block
2012/08/03 16:53:22
This history of file locations etc refers to the d
| |
| 43 //tools/cygprofile/cygprofile_android.h . Since there is already a version of | |
| 44 Cygprofile at that directory used by Chromium. | |
| OLD | NEW |