Home
last modified time | relevance | path

Searched refs:endTime (Results 1 – 25 of 29) sorted by relevance

12

/base/sensors/sensor_lite/interfaces/kits/native/test/performance/src/
Dsensor_lite_test_performance.cpp76 uint64_t endTime = GetCurrentMillSecTime(); variable
77 uint64_t duration = endTime - startTime;
80 startTime, endTime, duration);
111 uint64_t endTime = GetCurrentMillSecTime(); variable
112 uint64_t duration = endTime - startTime;
116 startTime, endTime, duration);
145 uint64_t endTime = GetCurrentMillSecTime(); variable
146 uint64_t duration = endTime - startTime;
149 startTime, endTime, duration);
172 uint64_t endTime = GetCurrentMillSecTime(); variable
[all …]
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dquery_argument.h26 QueryArgument(int64_t beginTime, int64_t endTime, int32_t maxEvents = 0,
28 … : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in beginTime()
35 int64_t endTime = -1; variable
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Dquery_argument.h26 QueryArgument(int64_t beginTime, int64_t endTime, int32_t maxEvents = 0,
28 … : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in beginTime()
35 int64_t endTime = -1; variable
/base/startup/init/services/loopevent/task/
Dle_asynctask.c29 struct timespec endTime; 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/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_rules.h28 long long endTime; member
32 QueryArg(const long long beginTime = -1, const long long endTime = -1, const int maxEvents = -1,
34 … : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in beginTime()
Dhisysevent_manager_c.h31 int64_t endTime; member
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Dquery_argument.cpp25 if (!parcel.WriteInt64(endTime)) { in Marshalling()
49 if (!parcel.ReadInt64(ret->endTime)) { in Unmarshalling()
Devent_query_wrapper_builder.cpp235 …oSeq=%{public}" PRId64 ", queryLimit=%{public}d.", eventType, argument.beginTime, argument.endTime, in Query()
352 ", toSeq=%{public} " PRId64 ".", eventType, argument.beginTime, argument.endTime, in SetQueryArgument()
430 … argument.endTime = argument.endTime < 0 ? std::numeric_limits<int64_t>::max() : argument.endTime; in BuildQuery()
435 .And(EventStore::EventCol::TS, EventStore::Op::LT, argument.endTime); in BuildQuery()
452 …((transportedEventCnt + ignoredEventCnt) < queryLimit || argument.beginTime >= argument.endTime)) { in NeedStartNextQuery()
455 argument.endTime = Next()->GetQueryArgument().endTime; in NeedStartNextQuery()
607 ", toSeq=%{public} " PRId64 ".", argument.beginTime, argument.endTime, in InitQueryWrappers()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dquery_argument.cpp25 if (!parcel.WriteInt64(endTime)) { in Marshalling()
49 if (!parcel.ReadInt64(ret->endTime)) { in Unmarshalling()
Dhisysevent_delegate.cpp101 QueryArgument queryArgument(arg.beginTime, arg.endTime, arg.maxEvents, arg.fromSeq, arg.toSeq); in Query()
/base/hiviewdfx/hisysevent/frameworks/native/
Dhisysevent_tool.cpp126 cmdArg.endTime = strtoll(optarg, nullptr, 0); in InitOptHandlers()
128 cmdArg.endTime = ParseTimeStampFromArgs(std::string(optarg)); in InitOptHandlers()
176 auto timestampValidCheck = clientCmdArg.endTime > 0 in CheckCmdLine()
177 && clientCmdArg.beginTime > clientCmdArg.endTime; in CheckCmdLine()
180 cout << clientCmdArg.beginTime << " > " << clientCmdArg.endTime << ")." << endl; in CheckCmdLine()
256 struct QueryArg args(clientCmdArg.beginTime, clientCmdArg.endTime, clientCmdArg.maxEvents); in DoAction()
/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/
Dapp_usage_event_factory.cpp100 int64_t endTime = today0Time > MILLISEC_TO_SEC ? (today0Time - MILLISEC_TO_SEC) : 0; in GetAppUsageInfosByUserId() local
103 startTime, endTime, userId); in GetAppUsageInfosByUserId()
110 startTime, endTime, pkgStats.size()); in GetAppUsageInfosByUserId()
/base/startup/init/test/moduletest/
Dparam_test_cmds.c339 struct timespec endTime; in DiffLocalTime() local
340 clock_gettime(CLOCK_MONOTONIC, &(endTime)); in DiffLocalTime()
341 long long diff = (long long)((endTime.tv_sec - startTime->tv_sec) * 1000000); // 1000000 1000ms in DiffLocalTime()
342 if (endTime.tv_nsec > startTime->tv_nsec) { in DiffLocalTime()
343 diff += (endTime.tv_nsec - startTime->tv_nsec) / 1000; // 1000 1ms in DiffLocalTime()
345 diff -= (startTime->tv_nsec - endTime.tv_nsec) / 1000; // 1000 1ms in DiffLocalTime()
/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c70 static const char *GetCostTime(const uint64_t beginTime, const uint64_t endTime) in GetCostTime() argument
74 if (beginTime == 0 || endTime == 0) { in GetCostTime()
78 if (endTime < beginTime) { in GetCostTime()
81 uint32_t cost = (uint32_t)(endTime - beginTime); in GetCostTime()
/base/hiviewdfx/hisysevent/frameworks/native/include/
Dhisysevent_tool.h38 long long endTime; member
/base/startup/init/services/init/include/
Dinit_cmds.h76 struct timespec endTime; member
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_manager_c.cpp47 QueryArgCls argCls(arg.beginTime, arg.endTime, arg.maxEvents); in HiSysEventQuery()
/base/useriam/user_auth_framework/services/context/inc/
Dcontext_callback.h49 std::chrono::time_point<std::chrono::steady_clock> endTime; member
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dcpu_dumper.h35 void CreateDumpTimeString(const std::string& startTime, const std::string& endTime,
/base/startup/init/services/init/
Dinit_common_cmds.c717 …long long diff = (long long)((stat->endTime.tv_sec - stat->startTime.tv_sec) * 1000000); // 100000… in InitDiffTime()
718 if (stat->endTime.tv_nsec > stat->startTime.tv_nsec) { in InitDiffTime()
719 diff += (stat->endTime.tv_nsec - stat->startTime.tv_nsec) / 1000; // 1000 ms in InitDiffTime()
721 diff -= (stat->startTime.tv_nsec - stat->endTime.tv_nsec) / 1000; // 1000 ms in InitDiffTime()
739 (void)clock_gettime(CLOCK_MONOTONIC, &cmdTimer.endTime); in DoCmdByName()
774 (void)clock_gettime(CLOCK_MONOTONIC, &cmdTimer.endTime); in DoCmdByIndex()
/base/security/access_token/tools/accesstoken/src/
Dto_string.cpp90 infos.append(R"("endTime": )" + std::to_string(result.endTimeMillis) + ",\n"); in PermissionUsedResultToString()
/base/useriam/user_auth_framework/services/context/src/
Dcontext_callback_impl.cpp65 metaData_.endTime = std::chrono::steady_clock::now(); in OnResult()
Dtrace.cpp91 auto timeSpan = duration_cast<milliseconds>(metaData.endTime - metaData.startTime); in ProcessUserAuthEvent()
/base/startup/init/services/init/standard/
Dinit.c268 clock_gettime(CLOCK_MONOTONIC, &(g_bootJob.endTime)); in BootStateChange()
303 clock_gettime(CLOCK_MONOTONIC, &(stat->endTime)); in InitPostHook()
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js264 endTime: -1, property
339 endTime: -1, property
414 endTime: -1, property

12