Lines Matching defs:StopWatch
33 #include "stopwatch.h"
54 StopWatch::StopWatch(const char *name, size_t capacity)
67 StopWatch::~StopWatch()
78 void StopWatch::start()
92 void StopWatch::stop()
100 void StopWatch::setPrintRawMode(bool raw)
106 void StopWatch::sprint(char **str, size_t *size)
121 SNPRINTF_OR_RETURN(*str, *size, "# StopWatch %s total/cumulative duration %f Samples: %d\n",
148 // a capacity when building the StopWatch.
149 void StopWatch::checkCapacity()
165 void StopWatch::processSamples()
209 double StopWatch::timespecToDouble(const struct timespec& time)
217 void StopWatch::printAverageMinMax(char **str, size_t *size)
228 void StopWatch::printThroughput(char **str, size_t *size)