OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StopWatch
(Results
1 - 25
of
30
) sorted by null
1
2
/system/core/libutils/
StopWatch.cpp
17
#define LOG_TAG "
StopWatch
"
19
#include <utils/
StopWatch
.h>
33
StopWatch
::
StopWatch
(const char* name, int clock) : mName(name), mClock(clock) {
37
StopWatch
::~
StopWatch
()
41
ALOGD("
StopWatch
%s (us): %" PRId64 " ", mName, ns2us(elapsed));
49
const char*
StopWatch
::name() const
54
nsecs_t
StopWatch
::lap()
68
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
/packages/apps/Email/src/com/android/email/
StopWatch.java
28
*
StopWatch
s =
StopWatch
.start();
37
public class
StopWatch
{
42
private
StopWatch
(String name) {
46
LogUtils.w(Logging.LOG_TAG, "
StopWatch
(" + mName + ") start");
49
public static
StopWatch
start(String name) {
50
return new
StopWatch
(name);
56
LogUtils.w(Logging.LOG_TAG, "
StopWatch
(" + mName + ") split(" + label + ") " + elapse);
62
LogUtils.w(Logging.LOG_TAG, "
StopWatch
(" + mName + ") stop: "
/system/core/libutils/include/utils/
StopWatch.h
29
class
StopWatch
32
StopWatch
(const char* name, int clock = SYSTEM_TIME_MONOTONIC);
33
~
StopWatch
();
/frameworks/base/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/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
StopWatch.java
34
public class
StopWatch
implements TimeInstrument {
41
public
StopWatch
(String name) {
45
StopWatch
(
StopWatch
original) {
69
public
StopWatch
stop(long stopTime) {
78
buf.append("
StopWatch
[");
113
throw new UnsupportedOperationException("A
stopwatch
instance does not know how to log");
/packages/apps/Contacts/src/com/android/contacts/util/
StopWatch.java
26
* A {@link
StopWatch
} records start, laps and stop, and print them to logcat.
28
public class
StopWatch
{
35
private
StopWatch
(String label) {
43
public static
StopWatch
start(String label) {
44
return new
StopWatch
(label);
89
public static
StopWatch
getNullStopWatch() {
93
private static class NullStopWatch extends
StopWatch
{
/packages/apps/Dialer/java/com/android/contacts/common/util/
StopWatch.java
22
/** A {@link
StopWatch
} records start, laps and stop, and print them to logcat. */
23
public class
StopWatch
{
30
private
StopWatch
(String label) {
36
public static
StopWatch
start(String label) {
37
return new
StopWatch
(label);
/external/guice/lib/build/
spring-core.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/
commons-lang3-3.2.1.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3/
commons-lang3-3.3.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3.2/
commons-lang3-3.3.2.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.4/
commons-lang3-3.4.jar
/external/annotation-tools/scene-lib/
ant-contrib.jar
/frameworks/data-binding/prebuilds/1.0-rc0/
databinding-studio-bundle.jar
/external/libphonenumber/demo/war/WEB-INF/lib/
commons-lang-2.6.jar
/external/owasp/sanitizer/tools/findbugs/lib/
commons-lang-2.6.jar
/prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.4/
commons-lang-2.4.jar
/prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.6/
commons-lang-2.6.jar
/external/guice/extensions/persist/lib/
hsqldb.jar
db4o-6.4.14.8131-java5.jar
/external/guice/extensions/struts2/lib/
xwork-core-2.2.1.jar
/external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar
android-all-4.2.2_r1.2-robolectric-0.jar
Completed in 2496 milliseconds
1
2