Home
last modified time | relevance | path

Searched refs:costTime (Results 1 - 25 of 47) sorted by relevance

12

/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_connreporter.c490 static void ConnResultRecordCount(ConnResultRecord *record, uint64_t costTime) in ConnResultRecordCount() argument
492 record->mConnTotalTime += costTime; in ConnResultRecordCount()
494 if (costTime > STANDARD_S) { in ConnResultRecordCount()
497 if (costTime > STANDARD_A) { in ConnResultRecordCount()
500 if (costTime > STANDARD_B) { in ConnResultRecordCount()
503 if (costTime > STANDARD_C) { in ConnResultRecordCount()
506 if (costTime > STANDARD_D) { in ConnResultRecordCount()
532 uint64_t costTime, int32_t errCode) in SoftbusRecordConnResult()
535 "record conn duration. connType=%{public}d, status=%{public}d, costTime=%{public}" PRIu64, in SoftbusRecordConnResult()
536 connType, status, costTime); in SoftbusRecordConnResult()
531 SoftbusRecordConnResult(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status, uint64_t costTime, int32_t errCode) SoftbusRecordConnResult() argument
594 uint64_t costTime = stepTime->connGroupTime; SoftbusRecordProccessDuration() local
[all...]
H A Dsoftbus_hisysevt_discreporter.c442 int32_t SoftbusRecordFirstDiscTime(SoftBusDiscMedium medium, uint64_t costTime) in SoftbusRecordFirstDiscTime() argument
455 if (diffTime > costTime) { in SoftbusRecordFirstDiscTime()
456 record->mDiscTotalTime += costTime; in SoftbusRecordFirstDiscTime()
459 record->mDiscTotalTime = costTime - diffTime; in SoftbusRecordFirstDiscTime()
462 if (costTime > STANDARD_S) { in SoftbusRecordFirstDiscTime()
465 if (costTime > STANDARD_A) { in SoftbusRecordFirstDiscTime()
468 if (costTime > STANDARD_B) { in SoftbusRecordFirstDiscTime()
471 if (costTime > STANDARD_C) { in SoftbusRecordFirstDiscTime()
474 if (costTime > STANDARD_D) { in SoftbusRecordFirstDiscTime()
/foundation/multimedia/camera_framework/services/camera_service/src/dfx/
H A Dcamera_report_uitls.cpp91 void CameraReportUtils::ReportOpenCameraPerf(uint64_t costTime, const string& startType) in ReportOpenCameraPerf() argument
93 MEDIA_DEBUG_LOG("CameraReportUtils::ReportOpenCameraPerf costTime: %{public}" PRIu64 "", costTime); in ReportOpenCameraPerf()
102 "COST_TIME", costTime, in ReportOpenCameraPerf()
156 void CameraReportUtils::ReportModeChangePerf(uint64_t costTime) in ReportModeChangePerf() argument
158 MEDIA_DEBUG_LOG("CameraReportUtils::ReportModeChangePerf costTime: %{public}" PRIu64 "", costTime); in ReportModeChangePerf()
167 "COST_TIME", costTime, in ReportModeChangePerf()
243 void CameraReportUtils::ReportSwitchCameraPerf(uint64_t costTime) in ReportSwitchCameraPerf() argument
245 MEDIA_DEBUG_LOG("CameraReportUtils::ReportSwitchCameraPerf costTime in ReportSwitchCameraPerf()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/
H A Dplugin_mgr.h62 inline void Update(int32_t costTime) in Update()
64 if (costTime > 0 && costTime < DISPATCH_TIME_OUT_US) { in Update()
65 if (totalTime + (uint32_t)costTime < totalTime) { in Update()
66 totalTime = (uint32_t)costTime; in Update()
69 totalTime += (uint32_t)costTime; in Update()
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/
H A Dconn_event_test.cpp68 .costTime = 9,
128 .costTime = -9,
206 .costTime = 999,
H A Ddisc_event_test.cpp78 .costTime = 17, in HWTEST_F()
124 .costTime = -17, in HWTEST_F()
H A Dtrans_event_test.cpp76 .costTime = 14, in HWTEST_F()
128 .costTime = -14, in HWTEST_F()
264 .costTime = 14, in HWTEST_F()
398 .costTime = 500, in HWTEST_F()
/foundation/window/window_manager/utils/src/
H A Dperform_reporter.cpp64 int64_t costTime = std::chrono::duration_cast<std::chrono::milliseconds>(currentTime - startTime_).count(); in end() local
66 count(costTime); in end()
98 void PerformReporter::count(int64_t costTime) in count() argument
102 if (costTime <= iter.first) { in count()
109 oss << tag_ << " cost " << costTime << "ms, total count " << totalCount_; in count()
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/
H A Dtrans_event_form.h86 int32_t costTime; // TIME_CONSUMING member
181 int32_t costTime; // TIME_CONSUMING member
H A Dconn_event_form.h76 int32_t costTime; // TIME_CONSUMING member
158 int32_t costTime; // COST_TIME member
H A Ddisc_event_form.h105 int32_t costTime; // FIRST_DISCOVERY_TIME member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_dfx.cpp128 uint64_t costTime = ImageUtils::GetNowTimeMilliSeconds() - startTime_; in ReportDecodeInfo() local
132 ffrt::submit([options, temp, costTime] { in ReportDecodeInfo()
165 { .name = "COST_TIME", .t = HISYSEVENT_UINT64, .v = { .ui64 = costTime } }, in ReportDecodeInfo()
/foundation/multimedia/camera_framework/services/camera_service/include/dfx/
H A Dcamera_report_uitls.h169 void ReportOpenCameraPerf(uint64_t costTime, const std::string& startType);
170 void ReportModeChangePerf(uint64_t costTime);
172 void ReportSwitchCameraPerf(uint64_t costTime);
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/include/
H A Dsoftbus_hisysevt_discreporter.h54 int32_t SoftbusRecordFirstDiscTime(SoftBusDiscMedium medium, uint64_t costTime);
H A Dsoftbus_hisysevt_connreporter.h88 uint64_t costTime, int32_t errCode);
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_spawn_client.cpp86 int64_t costTime = AbilityRuntime::TimeUtil::SystemTimeMillisecond() - startTime; in OpenConnection() local
87 if (costTime > MAX_COST_TIME) { in OpenConnection()
88 TAG_LOGW(AAFwkTag::APPMGR, "appspawnclientInit cost %{public}" PRId64 "ms!", costTime); in OpenConnection()
500 int64_t costTime = AbilityRuntime::TimeUtil::SystemTimeMillisecond() - startTime; in StartProcess() local
501 if (costTime > MAX_COST_TIME) { in StartProcess()
502 TAG_LOGW(AAFwkTag::APPMGR, "StartProcess cost %{public}" PRId64 "ms!", costTime); in StartProcess()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/
H A Dhiview_adapter.cpp416 it->second.val.costTime = stat.costTime; in ReportApiPerformanceStatistic()
419 (it->second.val.averageTime * static_cast<uint64_t>(it->second.times - 1) + stat.costTime) in ReportApiPerformanceStatistic()
422 if (stat.costTime > it->second.val.worstTime) { in ReportApiPerformanceStatistic()
423 it->second.val.worstTime = stat.costTime; in ReportApiPerformanceStatistic()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_service_test_helper.cpp237 float costTime { timeInterval }; in GetSpeed()
238 float speed = dataSize / costTime; in GetSpeed()
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dplugin_mgr.cpp727 int32_t costTime = costTimeUs / 1000; in DispatchResourceToPluginSync() local
730 if (costTime > DISPATCH_TIME_OUT) { in DispatchResourceToPluginSync()
733 __func__, pluginLib.c_str(), costTime, DISPATCH_TIME_OUT); in DispatchResourceToPluginSync()
743 } else if (costTime > DISPATCH_WARNING_TIME) { in DispatchResourceToPluginSync()
745 __func__, pluginLib.c_str(), costTime, DISPATCH_WARNING_TIME); in DispatchResourceToPluginSync()
899 int32_t costTime = (endTime - beginTime_) / std::chrono::milliseconds(1); in ~InnerTimeUtil() local
901 functionName_.c_str(), pluginName_.c_str(), costTime); in ~InnerTimeUtil()
902 if (costTime > DISPATCH_WARNING_TIME) { in ~InnerTimeUtil()
904 functionName_.c_str(), pluginName_.c_str(), costTime, DISPATCH_WARNING_TIME); in ~InnerTimeUtil()
/foundation/communication/dsoftbus/core/connection/tcp/src/
H A Dsoftbus_tcp_connect_manager.c85 uint64_t costTime = SoftBusGetSysTimeMs() - statistics->startTime; in DfxRecordTcpConnectFail() local
93 SoftbusRecordConnResult(pId, SOFTBUS_HISYSEVT_CONN_TYPE_TCP, SOFTBUS_EVT_CONN_FAIL, costTime, reason); in DfxRecordTcpConnectFail()
104 uint64_t costTime = SoftBusGetSysTimeMs() - statistics->startTime; in DfxRecordTcpConnectSuccess() local
108 .costTime = (int32_t)costTime, in DfxRecordTcpConnectSuccess()
112 SoftbusRecordConnResult(pId, SOFTBUS_HISYSEVT_CONN_TYPE_TCP, SOFTBUS_EVT_CONN_SUCC, costTime, in DfxRecordTcpConnectSuccess()
/foundation/window/window_manager/utils/include/
H A Dperform_reporter.h53 void count(int64_t costTime);
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_types.h156 int costTime; member
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dtrans_audit_converter.h62 TRANS_AUDIT_ASSIGNER(Int32, CostTime, costTime)
H A Dconn_audit_converter.h43 CONN_AUDIT_ASSIGNER(Int32, CostTime, costTime)
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/dfx/
H A Ddfx_types.h188 uint64_t costTime; member

Completed in 15 milliseconds

12