/base/sensors/sensor_lite/interfaces/kits/native/test/performance/src/ |
H A D | sensor_lite_test_performance.cpp | 76 uint64_t endTime = GetCurrentMillSecTime();
in HWTEST_F() local 77 uint64_t duration = endTime - startTime;
in HWTEST_F() 79 HILOG_DEBUG(HILOG_MODULE_APP, "GetAllSensorsPerformance001 starttime: %lld, endTime: %lld, duration:%lld",
in HWTEST_F() 80 startTime, endTime, duration);
in HWTEST_F() 111 uint64_t endTime = GetCurrentMillSecTime();
in HWTEST_F() local 112 uint64_t duration = endTime - startTime;
in HWTEST_F() 115 HILOG_DEBUG(HILOG_MODULE_APP, "SubscribeSensorPerformance001 starttime: %lld, endTime: %lld, duration:%lld",
in HWTEST_F() 116 startTime, endTime, duration);
in HWTEST_F() 145 uint64_t endTime = GetCurrentMillSecTime();
in HWTEST_F() local 146 uint64_t duration = endTime in HWTEST_F() 172 uint64_t endTime = GetCurrentMillSecTime(); HWTEST_F() local 208 uint64_t endTime = GetCurrentMillSecTime(); HWTEST_F() local [all...] |
/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
H A D | query_argument.h | 26 QueryArgument(int64_t beginTime, int64_t endTime, int32_t maxEvents = 0, in QueryArgument() argument 28 : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in QueryArgument() 35 int64_t endTime = -1; member in OHOS::HiviewDFX::QueryArgument
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
H A D | query_argument.h | 26 QueryArgument(int64_t beginTime, int64_t endTime, int32_t maxEvents = 0, in QueryArgument() argument 28 : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in QueryArgument() 35 int64_t endTime = -1; member in OHOS::HiviewDFX::QueryArgument
|
/base/location/frameworks/location_common/common/source/ |
H A D | sa_load_with_statistic.cpp | 37 auto endTime = CommonUtils::GetCurrentTimeStamp(); in InitLocationSa() local 39 "ret", std::to_string(ret), "startTime", std::to_string(startTime), "endTime", std::to_string(endTime)}); in InitLocationSa() 47 auto endTime = CommonUtils::GetCurrentTimeStamp(); in UnInitLocationSa() local 49 "ret", std::to_string(ret), "startTime", std::to_string(startTime), "endTime", std::to_string(endTime)}); in UnInitLocationSa()
|
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/ |
H A D | cpu_collector_test.cpp | 74 ASSERT_GT(sysCpuUsage.endTime, sysCpuUsage.startTime);
in HWTEST_F() 93 ASSERT_EQ(nextResult.data.startTime, sysCpuUsage.endTime);
in HWTEST_F() 94 ASSERT_GT(nextResult.data.endTime, nextResult.data.startTime);
in HWTEST_F() 119 ASSERT_GT(nextResult.data.endTime, result.data.endTime);
in HWTEST_F() 162 std::cout << "proc.endTime=" << collectResult.data.endTime << std::endl;
in HWTEST_F() 171 ASSERT_GT(collectResult.data.endTime, 0);
in HWTEST_F() 185 ASSERT_GT(nextCollectResult.data.endTime, collectResult.data.endTime);
in HWTEST_F() [all...] |
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
H A D | hisysevent_rules.h | 29 long long endTime; member 34 QueryArg(const long long beginTime = -1, const long long endTime = -1, const int maxEvents = -1, in QueryArg() 38 this->endTime = endTime < 0 ? std::numeric_limits<long long>::max() : endTime; in QueryArg() 44 QueryArg(): beginTime(0), endTime(0), maxEvents(0), fromSeq(-1), toSeq(-1) {} in QueryArg()
|
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/resource/ |
H A D | cpu.h | 42 uint64_t endTime = 0;
member 55 uint64_t endTime = 0;
member 69 uint64_t endTime = 0;
member
|
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/ |
H A D | fold_app_usage_db_helper.h | 69 void QueryStatisticEventsInPeriod(uint64_t startTime, uint64_t endTime,
71 void QueryForegroundAppsInfo(uint64_t startTime, uint64_t endTime, int screenStatus, FoldAppUsageInfo &info);
73 int QueryFinalScreenStatus(uint64_t endTime);
78 std::vector<std::pair<int, std::string>> QueryEventAfterEndTime(uint64_t endTime, uint64_t nowTime);
84 uint64_t endTime, const std::string &appName, int screenStatus);
|
/base/startup/init/services/loopevent/timer/ |
H A D | le_timer.c | 43 if (timer1->endTime > timer2->endTime) {
in TimerNodeCompareProc() 45 } else if (timer1->endTime == timer2->endTime) {
in TimerNodeCompareProc() 54 timer->endTime = GetCurrentTimespec(timer->timeout);
in InsertTimerNode() 71 if (timer->endTime > (currTime + faultTime)) {
in CheckTimeoutOfTimer() 154 return timerNode->endTime;
in GetMinTimeoutPeriod()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_dumprequest.c | 411 uint64_t endTime; in StartProcessdump() local 413 ParseSiValue(&g_request->siginfo, &endTime, &tid); in StartProcessdump() 416 if (endTime != 0) { in StartProcessdump() 417 DFXLOGW("dump remain %{public}" PRId64 "ms", endTime - curTime); in StartProcessdump() 419 if (endTime == 0 || endTime > curTime) { in StartProcessdump() 514 uint64_t endTime = startTime + timeout; in ReadPipeTimeout() local 526 if (now >= endTime || now < startTime) { in ReadPipeTimeout() 529 timeout = endTime - now; in ReadPipeTimeout() 581 uint64_t endTime; in ProcessDump() local [all...] |
/base/startup/appspawn/lite/ |
H A D | appspawn_service.c | 35 uint64_t DiffTime(const struct timespec *startTime, const struct timespec *endTime) in DiffTime() argument 37 uint64_t diff = (uint64_t)((endTime->tv_sec - startTime->tv_sec) * 1000000); // 1000000 s-us in DiffTime() 38 if (endTime->tv_nsec > startTime->tv_nsec) { in DiffTime() 39 diff += (endTime->tv_nsec - startTime->tv_nsec) / 1000; // 1000 ns - us in DiffTime() 41 diff -= (startTime->tv_nsec - endTime->tv_nsec) / 1000; // 1000 ns - us in DiffTime()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/ |
H A D | decorator.h | 56 void UpdateStatInfo(uint64_t startTime, uint64_t endTime, const std::string& funcName, bool isCallSucc);
74 uint64_t endTime = TimeUtil::GenerateTimestamp();
in Invoke() local 81 statInfoWrapper.UpdateStatInfo(startTime, endTime, classFuncName, isCallSucc);
in Invoke()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
H A D | decorator.cpp | 23 void StatInfoWrapper::UpdateStatInfo(uint64_t startTime, uint64_t endTime, const std::string& funcName, bool isCallSucc)
in UpdateStatInfo() argument 26 uint64_t latency = (endTime - startTime) > 0 ? (endTime - startTime) : 0;
in UpdateStatInfo()
|
/base/hiviewdfx/hiview/utility/analysis_faultlog/ |
H A D | analysis_faultlog.cpp | 48 auto endTime = std::chrono::high_resolution_clock::now(); in SmartParser() local 49 auto diffTime = std::chrono::duration_cast<std::chrono::milliseconds>(endTime - startTime).count(); in SmartParser() 61 auto endTime = std::chrono::high_resolution_clock::now(); in Tbox() local 62 auto diffTime = std::chrono::duration_cast<std::chrono::milliseconds>(endTime - startTime).count(); in Tbox()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | query_argument.cpp | 25 if (!parcel.WriteInt64(endTime)) { in Marshalling() 49 if (!parcel.ReadInt64(ret->endTime)) { in Unmarshalling()
|
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
H A D | query_argument.cpp | 25 if (!parcel.WriteInt64(endTime)) { in Marshalling() 49 if (!parcel.ReadInt64(ret->endTime)) { in Unmarshalling()
|
/base/security/security_guard/test/unittest/security_collector/include/ |
H A D | security_event_ruler.h | 27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler() 29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
|
/base/security/security_guard/interfaces/inner_api/collector/include/ |
H A D | security_event_ruler.h | 27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler() 29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
|
/base/security/security_guard/test/unittest/data_collect/sa/ |
H A D | security_event_ruler.h | 27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler() 29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
|
/base/security/security_guard/test/unittest/security_collector/data_collection/include/ |
H A D | security_event_ruler.h | 27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler() 29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | thread_state_info_collector.cpp | 87 .endTime = TimeUtil::GetMilliseconds(), in InitCalculationTimeInfo() 103 .collectionTime = calcTimeInfo.endTime, in UpdateLastThreadTimeInfo() 110 lastCollectionTime_ = calcTimeInfo.endTime; in UpdateCollectionTime() 153 HIVIEW_LOGD("startTime=%{public}" PRIu64 ", endTime=%{public}" PRIu64 ", startBootTime=%{public}" PRIu64 in CalculateThreadCpuStatInfos() 155 calcTimeInfo.endTime, calcTimeInfo.startBootTime, calcTimeInfo.endBootTime, calcTimeInfo.period); in CalculateThreadCpuStatInfos() 197 threadCpuStatInfo.endTime = calcTimeInfo.endTime; in CalculateThreadCpuStatInfo()
|
H A D | sys_cpu_usage_collector.cpp | 41 sysCpuUsage.endTime = TimeUtil::GetMilliseconds(); in CollectSysCpuUsage() 44 lastSysCpuUsageTime_ = sysCpuUsage.endTime; in CollectSysCpuUsage()
|
H A D | process_state_info_collector.cpp | 71 lastCollectionTime_ = calcTimeInfo.endTime; in UpdateCollectionTime() 84 .collectionTime = calcTimeInfo.endTime, in UpdateLastProcCpuTimeInfo() 115 HIVIEW_LOGI("startTime=%{public}" PRIu64 ", endTime=%{public}" PRIu64 ", startBootTime=%{public}" PRIu64 in CalculateProcessCpuStatInfos() 117 calcTimeInfo.endTime, calcTimeInfo.startBootTime, calcTimeInfo.endBootTime, calcTimeInfo.period); in CalculateProcessCpuStatInfos() 139 .endTime = TimeUtil::GetMilliseconds(), in InitCalculationTimeInfo() 160 processCpuStatInfo.endTime = calcTimeInfo.endTime; in CalculateProcessCpuStatInfo() 232 .endTime = TimeUtil::GetMilliseconds(), in InitCalculationTimeInfo()
|
/base/startup/init/services/loopevent/task/ |
H A D | le_asynctask.c | 29 struct timespec endTime = {0};
in DoAsyncEvent_() local 45 clock_gettime(CLOCK_MONOTONIC, &(endTime));
in DoAsyncEvent_() 46 diff = (long long)(endTime.tv_sec - startTime.tv_sec) * MILLION_MICROSECOND;
in DoAsyncEvent_() 47 if (endTime.tv_nsec > startTime.tv_nsec) {
in DoAsyncEvent_() 48 diff += (endTime.tv_nsec - startTime.tv_nsec) / THOUSAND_MILLISECOND; // 1000 ms
in DoAsyncEvent_() 50 diff -= (endTime.tv_nsec - startTime.tv_nsec) / THOUSAND_MILLISECOND; // 1000 ms
in DoAsyncEvent_()
|
/base/hiviewdfx/hiview/test/unittest/unified_collection/client/ |
H A D | trace_collector_client_test.cpp | 165 appCaller.endTime = appCaller.happenTime + 100; // 100: ms
in HWTEST_F() 193 appCaller.endTime = appCaller.happenTime + 100; // 100: ms
in HWTEST_F() 227 appCaller1.endTime = appCaller1.happenTime + 100;
in HWTEST_F() 243 appCaller2.endTime = appCaller2.happenTime + 100;
in HWTEST_F() 277 appCaller1.endTime = appCaller1.happenTime + 100;
in HWTEST_F() 311 appCaller1.endTime = appCaller1.happenTime + 100;
in HWTEST_F() 327 appCaller2.endTime = appCaller2.happenTime + 100;
in HWTEST_F() 361 appCaller1.endTime = appCaller1.happenTime + 100;
in HWTEST_F() 383 appCaller3.endTime = appCaller3.happenTime + 100;
in HWTEST_F() 416 appCaller1.endTime in HWTEST_F() [all...] |