OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:LapTimer
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/cc/test/
lap_timer.cc
11
LapTimer
::
LapTimer
(int warmup_laps,
21
void
LapTimer
::Reset() {
29
void
LapTimer
::Start() { start_time_ = base::TimeTicks::HighResNow(); }
31
bool
LapTimer
::IsWarmedUp() { return remaining_warmups_ <= 0; }
33
void
LapTimer
::NextLap() {
50
bool
LapTimer
::HasTimeLimitExpired() { return accumulator_ >= time_limit_; }
52
float
LapTimer
::MsPerLap() {
57
float
LapTimer
::LapsPerSecond() {
62
int
LapTimer
::NumLaps() { return num_laps_;
[
all
...]
lap_timer.h
12
//
LapTimer
is used to calculate average times per "Lap" in perf tests.
17
// If you initialize the
LapTimer
with a non zero warmup_laps, it will ignore
22
class
LapTimer
{
24
LapTimer
(int warmup_laps, base::TimeDelta time_limit, int check_interval);
55
DISALLOW_COPY_AND_ASSIGN(
LapTimer
);
Completed in 984 milliseconds