OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StopWatch
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/libs/utils/
StopWatch.cpp
17
#define LOG_TAG "
StopWatch
"
25
#include <utils/
StopWatch
.h>
32
StopWatch
::
StopWatch
(const char *name, int clock, uint32_t flags)
38
StopWatch
::~
StopWatch
()
42
LOGD("
StopWatch
%s (us): %lld ", mName, ns2us(elapsed));
50
const char*
StopWatch
::name() const
55
nsecs_t
StopWatch
::lap()
69
nsecs_t
StopWatch
::elapsedTime() cons
[
all
...]
/system/extras/tests/sdcard/
stopwatch.cpp
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"
[
all
...]
stopwatch.h
38
//
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
{
91
StopWatch
(const char *name, size_t capacity = kUseDefaultCapacity);
92
~
StopWatch
();
94
// A
StopWatch
instance measures time intervals. Use setDataSize
/frameworks/base/include/utils/
StopWatch.h
29
class
StopWatch
32
StopWatch
( const char *name,
35
~
StopWatch
();
/external/webkit/JavaScriptCore/
jsc.cpp
116
class
StopWatch
{
127
void
StopWatch
::start()
132
void
StopWatch
::stop()
137
long
StopWatch
::getElapsedMS()
210
StopWatch
stopWatch
;
218
stopWatch
.start();
220
stopWatch
.stop();
222
return jsNumber(globalObject->globalExec(),
stopWatch
.getElapsedMS());
Completed in 5071 milliseconds