Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/tests/external/
DStatsPuller_test.cpp95 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F()
109 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F()
123 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F()
137 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F()
143 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F()
155 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F()
164 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F()
174 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F()
185 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F()
195 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); 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.cpp106 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
120 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
138 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
171 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
204 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
233 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
264 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
292 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
317 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
353 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F()
[all …]
DRestrictedConfig_e2e_test.cpp110 int64_t startTimeNs = getElapsedRealtimeNs(); in SetUp()
155 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
171 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
185 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
201 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
215 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
230 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
244 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F()
464 service->mProcessor->onDumpReport(cfgKey, getElapsedRealtimeNs(), in TEST_F()
DConfigUpdate_e2e_ab_test.cpp71 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
113 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
147 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
174 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
221 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
247 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
287 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P()
321 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); in TEST_P()
DGaugeMetric_e2e_pull_test.cpp72 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
215 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
335 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
433 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
532 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
712 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
872 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
DValueMetric_pull_e2e_test.cpp155 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
205 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
326 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
453 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
DStringReplace_e2e_test.cpp257 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
320 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
642 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
DKllMetric_e2e_test.cpp47 bucketStartTimeNs = getElapsedRealtimeNs(); in SetUp()
/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp59 mPullTimeNs = getElapsedRealtimeNs(); in onPullAtom()
81 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TEST()
97 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TEST()
162 const int64_t createConfigTimeNs = getElapsedRealtimeNs(); in TEST_F()
168 const int64_t initCompletedTimeNs = getElapsedRealtimeNs(); in TEST_F()
Dstatsd_test_util.h137 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in SetUp()
146 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TearDown()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp165 getElapsedRealtimeNs(),
346 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), getWallClockNs(), in dumpIncidentSection()
757 mProcessor->onDumpReport(ConfigKey(uid, StrToInt64(name)), getElapsedRealtimeNs(), in cmd_dump_report()
827 mProcessor->WriteDataToDisk(ADB_DUMP, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs(), in cmd_write_data_to_disk()
907 if (mPullerManager->Pull(s, uids, getElapsedRealtimeNs(), &stats)) { in cmd_print_pulled_metrics()
993 mUidMap->updateMap(getElapsedRealtimeNs(), uidData); in informAllUidData()
1007 mUidMap->updateApp(getElapsedRealtimeNs(), app, uid, version, versionString, installer, in informOnePackage()
1017 mUidMap->removeApp(getElapsedRealtimeNs(), app, uid); in informOnePackageRemoved()
1050 mProcessor->informPullAlarmFired(getElapsedRealtimeNs()); in informPollAlarmFired()
1068 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in informDeviceShutdown()
[all …]
DStatsLogProcessor.cpp381 resetConfigsLocked(getElapsedRealtimeNs()); in resetConfigs()
394 OnLogEvent(event, getElapsedRealtimeNs()); in OnLogEvent()
856 WriteDataToDiskLocked(CONFIG_RESET, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs(), in resetIfConfigTtlExpiredLocked()
866 WriteDataToDiskLocked(key, getElapsedRealtimeNs(), getWallClockNs(), CONFIG_REMOVED, in OnConfigRemoved()
939 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in querySql()
1019 /*queryLatencyNs=*/getElapsedRealtimeNs() - elapsedRealtimeNs); in querySql()
1116 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in flushIfNecessaryLocked()
1198 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk()
Dstats_log_util.h57 int64_t getElapsedRealtimeNs();
/packages/modules/StatsD/statsd/src/external/
DStatsPuller.cpp51 const int64_t elapsedTimeNs = getElapsedRealtimeNs(); in Pull()
76 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/metrics/
DRestrictedEventMetricProducer.cpp106 int64_t flushStartNs = getElapsedRealtimeNs(); in flushRestrictedData()
130 mConfigKey, mMetricId, getElapsedRealtimeNs() - flushStartNs); in flushRestrictedData()
DGaugeMetricProducer.cpp414 const int64_t pullDelayNs = getElapsedRealtimeNs() - timestampNs; in pullAndMatchEventsLocked()
507 const int64_t pullDelayNs = getElapsedRealtimeNs() - originalPullTimeNs; in onDataPulled()
DMetricsManager.cpp937 int64_t flushStartNs = getElapsedRealtimeNs(); in flushRestrictedData()
942 mConfigKey, getElapsedRealtimeNs() - flushStartNs); in flushRestrictedData()
DNumericValueMetricProducer.cpp254 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents()
/packages/modules/StatsD/statsd/tests/utils/
DMultiConditionTrigger_test.cpp246 const int64_t triggerStartNs = getElapsedRealtimeNs(); in TEST()
277 const int64_t triggerEndNs = getElapsedRealtimeNs(); in TEST()
/packages/modules/StatsD/statsd/src/subscriber/
DIncidentdReporter.cpp106 getElapsedRealtimeNs(), true, true, in getProtoData()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriber.cpp103 const int64_t nowNanos = getElapsedRealtimeNs(); in pullAndSendHeartbeats()
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp60 int64_t elapsedTimeNs = getElapsedRealtimeNs(); in onDataAvailable()
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp108 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig()

12