
Here's how I do it in the serialization library. I have a directory boost/libs/serialization/performance which is very similar to the boost/libs/serialization/test directory. In it I have a couple of performance tests - I need many more. I run the normal bjam system with the profile switch set and generate a table of results. I do this using all the same setup as other testing. This generates a report for each test which shows cpu time consumption on a function by function basis. This works only with the gcc compiler. The serialization documentation describes this system. Robert Ramey Govindan, Nandagopal (GE Healthcare) wrote:
Hi, I would like to know how performance measurement( time & memory ) done in boost.
Do boost has some following APIs to measure performance??
Profiler.start() Code to be measured Profiler.stop()
Printstatistics()
Regards Nandagopal _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost