public class Timer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Timer.Entry |
Modifier and Type | Method and Description |
---|---|
static void |
clearEntries() |
static void |
dumpEntries(PrintStream out) |
void |
end() |
static Iterable<Timer.Entry> |
getEntries() |
static void |
logTime(String name,
long elapsedTime) |
public Timer(String name)
public void end()
public static void logTime(String name, long elapsedTime)
public static Iterable<Timer.Entry> getEntries()
public static void clearEntries()
public static void dumpEntries(PrintStream out)
Copyright © 2009-2017 Google. All Rights Reserved.