Searched defs:StopWatch (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/sdcard/
H A Dstopwatch.cpp54 StopWatch::StopWatch(const char *name, size_t capacity) function in class:android_test::StopWatch
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
[all...]
H A Dstopwatch.h38 // StopWatch class to collect execution statistics.
45 // If StopWatch::setPrintRawMode(true) has been called, the raw
62 // StopWatch watch("my name", 20);
75 class StopWatch { class in namespace:android_test
91 StopWatch(const char *name, size_t capacity = kUseDefaultCapacity);
92 ~StopWatch();
94 // A StopWatch instance measures time intervals. Use setDataSize

Completed in 501 milliseconds