Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp89 duration.state = DurationState::kPaused; in noteStart()
91 duration.state = DurationState::kStarted; in noteStart()
110 case DurationState::kStopped: in noteStop()
113 case DurationState::kStarted: { in noteStop()
117 duration.state = DurationState::kStopped; in noteStop()
132 case DurationState::kPaused: { in noteStop()
135 duration.state = DurationState::kStopped; in noteStop()
147 if (duration.state == DurationState::kStopped) { in noteStop()
199 if (it->second.state == DurationState::kStopped) { in flushCurrentBucket()
284 it->second.state = DurationState::kPaused; in noteConditionChanged()
[all …]
DDurationTracker.h30 enum DurationState { enum
39 DurationState state;