Home
last modified time | relevance | path

Searched refs:getElapsedRealtimeNs (Results 1 – 21 of 21) sorted by relevance

/packages/modules/StatsD/statsd/tests/external/
DStatsPuller_test.cpp95 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
109 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
123 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
137 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
143 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
155 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
164 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
174 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
185 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
195 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F()
[all …]
DStatsCallbackPuller_test.cpp130 int64_t startTimeNs = getElapsedRealtimeNs(); in TEST_F()
132 int64_t endTimeNs = getElapsedRealtimeNs(); in TEST_F()
166 int64_t startTimeNs = getElapsedRealtimeNs(); in TEST_F()
169 int64_t endTimeNs = getElapsedRealtimeNs(); in TEST_F()
197 int64_t startTimeNs = getElapsedRealtimeNs(); in TEST_F()
200 int64_t endTimeNs = getElapsedRealtimeNs(); in TEST_F()
/packages/modules/StatsD/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp122 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
137 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
157 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
191 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
224 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
258 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
288 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
315 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
352 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
376 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST()
[all …]
DConfigUpdate_e2e_ab_test.cpp72 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
114 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
148 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
175 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
222 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
248 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
287 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
322 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); in TEST_P()
DGaugeMetric_e2e_pull_test.cpp71 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
210 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
307 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
405 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
532 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
DValueMetric_pull_e2e_test.cpp155 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
205 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
308 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
411 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
DConfigUpdate_e2e_test.cpp938 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); // 0:10 in TEST_F()
1325 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); in TEST_F()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp118 [this]() { mProcessor->onStatsdInitCompleted(getElapsedRealtimeNs()); }), in __anon55b448e80502()
127 getElapsedRealtimeNs(),
269 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in dumpIncidentSection()
683 mProcessor->onDumpReport(ConfigKey(uid, StrToInt64(name)), getElapsedRealtimeNs(), in cmd_dump_report()
750 mProcessor->WriteDataToDisk(ADB_DUMP, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs()); in cmd_write_data_to_disk()
829 if (mPullerManager->Pull(s, uids, getElapsedRealtimeNs(), &stats)) { in cmd_print_pulled_metrics()
940 mUidMap->updateMap(getElapsedRealtimeNs(), in informAllUidData()
961 mUidMap->updateApp(getElapsedRealtimeNs(), utf16App, uid, version, utf16VersionString, in informOnePackage()
971 mUidMap->removeApp(getElapsedRealtimeNs(), utf16App, uid); in informOnePackageRemoved()
1002 mProcessor->informPullAlarmFired(getElapsedRealtimeNs()); in informPollAlarmFired()
[all …]
DStatsLogProcessor.cpp373 resetConfigsLocked(getElapsedRealtimeNs()); in resetConfigs()
385 OnLogEvent(event, getElapsedRealtimeNs()); in OnLogEvent()
743 WriteDataToDiskLocked(CONFIG_RESET, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs()); in resetIfConfigTtlExpiredLocked()
752 WriteDataToDiskLocked(key, getElapsedRealtimeNs(), CONFIG_REMOVED, in OnConfigRemoved()
780 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in flushIfNecessaryLocked()
846 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk()
Dstats_log_util.h56 int64_t getElapsedRealtimeNs();
Dstats_log_util.cpp553 int64_t getElapsedRealtimeNs() { in getElapsedRealtimeNs() function
/packages/modules/StatsD/statsd/src/external/
DStatsPuller.cpp47 const int64_t elapsedTimeNs = getElapsedRealtimeNs(); in Pull()
71 const int64_t pullElapsedDurationNs = getElapsedRealtimeNs() - elapsedTimeNs; in Pull()
DTrainInfoPuller.cpp47 auto event = make_shared<LogEvent>(getWallClockNs(), getElapsedRealtimeNs(), trainInfo); in PullInternal()
/packages/modules/StatsD/statsd/src/subscriber/
DIncidentdReporter.cpp105 UidMap::getInstance()->writeUidMapSnapshot(getElapsedRealtimeNs(), true, true, uids, in getProtoData()
/packages/modules/StatsD/statsd/src/metrics/
DGaugeMetricProducer.cpp390 const int64_t pullDelayNs = getElapsedRealtimeNs() - timestampNs; in pullAndMatchEventsLocked()
479 const int64_t pullDelayNs = getElapsedRealtimeNs() - originalPullTimeNs; in onDataPulled()
DValueMetricProducer.cpp671 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriber.cpp139 int64_t nowNanos = getElapsedRealtimeNs(); in pullAndSendHeartbeats()
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp181 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp78 mElapsedTimestampNs = getElapsedRealtimeNs(); in LogEvent()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp266 int64_t history = getElapsedRealtimeNs() - oldestEventTimestampNs; in noteEventQueueOverflow()
/packages/modules/StatsD/statsd/tests/
DStatsLogProcessor_test.cpp1656 int64_t approximateSystemServerDeath = getElapsedRealtimeNs(); in TEST()