Searched refs:mLastStartTime (Results 1 – 3 of 3) sorted by relevance
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 40 mLastStartTime = 0; in OringDurationTracker() 75 mLastStartTime = eventTime; in noteStart() 102 (timestamp - mLastStartTime); in noteStop() 107 (long long)timestamp - mLastStartTime, (long long)getCurrentStateKeyDuration(), in noteStop() 128 (timestamp - mLastStartTime); in noteStopAll() 130 (long long)timestamp - mLastStartTime, (long long)getCurrentStateKeyDuration(), in noteStopAll() 169 (currentBucketEndTimeNs - mLastStartTime); in flushCurrentBucket() 230 mLastStartTime = mCurrentBucketStartTimeNs; in flushCurrentBucket() 277 (timestamp - mLastStartTime); in onSlicedConditionMayChange() 279 (long long)(timestamp - mLastStartTime), (long long)getCurrentStateKeyDuration(), in onSlicedConditionMayChange() [all …]
|
D | OringDurationTracker.h | 80 int64_t mLastStartTime; variable
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 71 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST() 74 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST() 167 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST() 171 EXPECT_EQ((long long)(bucketStartTimeNs + 2 * bucketSizeNs), tracker.mLastStartTime); in TEST()
|