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

CxxProf misses to send data at applications end #12

Closed monsdar closed 10 years ago

monsdar commented 10 years ago

If the hosting application ends before CxxProf has sent all of its data, the data will be lost. This happens a lot due to the circumstance that all data is sent during the deconstruction of an Activity.

There must be a method of keeping CxxProf alive as long as there is still data to send.

monsdar commented 10 years ago

Since revision #86 there is now a CXXPROF_SHUTDOWN command. I'll have to update the documentation, but the code-side works.