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.
We're currently storing the microseconds sind application-start in an unsigned int. This just works for a certain time. We need to check when our measurements go down the drain and what happens after that.
We also should think about using a lower precision like milliseconds. According to the Boost-documentation there aren't many systems which could measure microseconds anyways.
A concept could be to also count how many times we reached a certain limit and then start counting again from zero. If we store this value, we could easily extend the duration we could profile up to several years.
What is best suitable for us? How much precision is needed to get the most useful data out of CxxProf?
We're currently storing the microseconds sind application-start in an unsigned int. This just works for a certain time. We need to check when our measurements go down the drain and what happens after that.
We also should think about using a lower precision like milliseconds. According to the Boost-documentation there aren't many systems which could measure microseconds anyways.
A concept could be to also count how many times we reached a certain limit and then start counting again from zero. If we store this value, we could easily extend the duration we could profile up to several years.
What is best suitable for us? How much precision is needed to get the most useful data out of CxxProf?