monsdar / CxxProf

CxxProf is a manual instrumented Profiling library for C++. It's goal is to provide easy integration into existing projects with just as little overhead as possible. It should be easy to remove the profiling mechanism during compile and runtime from the code.
GNU General Public License v3.0
58 stars 5 forks source link

Provide a CXXPROF_INIT #14

Closed monsdar closed 10 years ago

monsdar commented 10 years ago

Currently CxxProf will be initialized as soons as the first Mark/Plot/Activity is created. This could be at a timepoint where timings are crucial and where CxxProf would change the results measured.

There should be a CXXPROF_INIT macro which initializes CxxProf and therefore gives the user control about when CxxProf gets initialized.

monsdar commented 10 years ago

Implemented with rev 88