Home
last modified time | relevance | path

Searched refs:DurationState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp105 duration.state = DurationState::kPaused; in noteStart()
107 duration.state = DurationState::kStarted; in noteStart()
127 case DurationState::kStopped: in noteStop()
130 case DurationState::kStarted: { in noteStop()
134 duration.state = DurationState::kStopped; in noteStop()
149 case DurationState::kPaused: { in noteStop()
152 duration.state = DurationState::kStopped; in noteStop()
164 if (duration.state == DurationState::kStopped) { in noteStop()
209 if (it->second.state == DurationState::kStopped) { in flushCurrentBucket()
290 it->second.state = DurationState::kPaused; in noteConditionChanged()
[all …]
DDurationTracker.h29 enum DurationState { enum
38 DurationState state;