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

/system/core/libutils/
H A DStopWatch.cpp17 #define LOG_TAG "StopWatch"
29 #include <utils/StopWatch.h>
36 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) function in class:android::StopWatch
42 StopWatch::~StopWatch()
46 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed));
54 const char* StopWatch::name() const
59 nsecs_t StopWatch::lap()
73 nsecs_t StopWatch
[all...]
/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
/system/core/include/utils/
H A DStopWatch.h29 class StopWatch class in namespace:android
32 StopWatch( const char *name,
35 ~StopWatch();

Completed in 71 milliseconds