OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StopWatch
(Results
1 - 7
of
7
) 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
();
/packages/apps/Email/src/com/android/email/
StopWatch.java
28
*
StopWatch
s =
StopWatch
.start();
37
public class
StopWatch
{
42
private
StopWatch
(String name) {
46
Log.w(Logging.LOG_TAG, "
StopWatch
(" + mName + ") start");
49
public static
StopWatch
start(String name) {
50
return new
StopWatch
(name);
56
Log.w(Logging.LOG_TAG, "
StopWatch
(" + mName + ") split(" + label + ") " + elapse);
63
Log.w(Logging.LOG_TAG, "
StopWatch
(" + mName + ") stop: "
/system/media/mca/filterfw/java/android/filterfw/core/
StopWatchMap.java
26
class
StopWatch
{
36
public
StopWatch
(String name) {
46
"Calling start with
StopWatch
already running");
54
"Calling stop with
StopWatch
already stopped");
74
private HashMap<String,
StopWatch
> mStopWatches = null;
77
mStopWatches = new HashMap<String,
StopWatch
>();
85
mStopWatches.put(stopWatchName, new
StopWatch
(stopWatchName));
/external/webkit/Source/JavaScriptCore/
jsc.cpp
116
class
StopWatch
{
127
void
StopWatch
::start()
132
void
StopWatch
::stop()
137
long
StopWatch
::getElapsedMS()
217
StopWatch
stopWatch
;
218
stopWatch
.start();
220
stopWatch
.stop();
222
return JSValue::encode(jsNumber(
stopWatch
.getElapsedMS()));
248
StopWatch
stopWatch
[
all
...]
Completed in 128 milliseconds