CPoorMansTimingAndProfiling  1.3.6
Instrument C apps simply to profile selected code paths.
 All Data Structures Functions Typedefs Pages

This library allows you to measure the execution time of portions of your code. You create stop watch "objects" that can be started and stopped as needed. Elapsed time, average time, standard deviation, min/max can be tracked and reported.

Times are accumulated in nanoseconds whether or not the platform actually resolves time that accurately.

The api is based on an opaque "stopWatch" structure. Fields are extracted via getter methods.

Tested OS's:

  • Mac OS X
  • Linux

Author: Nazario Irizarry