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: cyg-profile.h | |
|
Steve Block
2012/07/11 16:17:56
I don't see this file. Do you mean LICENSE?
felipeg
2012/07/11 17:10:25
Done.
| |
| 9 Security Critical: No | |
| 10 | |
| 11 Description: | |
| 12 Implementation of instrumentation functions for use with gcc's | |
| 13 -finstrument-functions option. | |
| 14 | |
| 15 Local Modifications: | |
| 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. | |
| OLD | NEW |