/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/ |
H A D | softbus_hisysevt_connreporter.c | 490 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 D | softbus_hisysevt_discreporter.c | 442 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 D | camera_report_uitls.cpp | 91 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 D | plugin_mgr.h | 62 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 D | conn_event_test.cpp | 68 .costTime = 9, 128 .costTime = -9, 206 .costTime = 999,
|
H A D | disc_event_test.cpp | 78 .costTime = 17, in HWTEST_F() 124 .costTime = -17, in HWTEST_F()
|
H A D | trans_event_test.cpp | 76 .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 D | perform_reporter.cpp | 64 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 D | trans_event_form.h | 86 int32_t costTime; // TIME_CONSUMING member 181 int32_t costTime; // TIME_CONSUMING member
|
H A D | conn_event_form.h | 76 int32_t costTime; // TIME_CONSUMING member 158 int32_t costTime; // COST_TIME member
|
H A D | disc_event_form.h | 105 int32_t costTime; // FIRST_DISCOVERY_TIME member
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_dfx.cpp | 128 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 D | camera_report_uitls.h | 169 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 D | softbus_hisysevt_discreporter.h | 54 int32_t SoftbusRecordFirstDiscTime(SoftBusDiscMedium medium, uint64_t costTime);
|
H A D | softbus_hisysevt_connreporter.h | 88 uint64_t costTime, int32_t errCode);
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_client.cpp | 86 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 D | hiview_adapter.cpp | 416 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 D | dbinder_service_test_helper.cpp | 237 float costTime { timeInterval }; in GetSpeed() 238 float speed = dataSize / costTime; in GetSpeed()
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | plugin_mgr.cpp | 727 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 D | softbus_tcp_connect_manager.c | 85 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 D | perform_reporter.h | 53 void count(int64_t costTime);
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_types.h | 156 int costTime; member
|
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/ |
H A D | trans_audit_converter.h | 62 TRANS_AUDIT_ASSIGNER(Int32, CostTime, costTime)
|
H A D | conn_audit_converter.h | 43 CONN_AUDIT_ASSIGNER(Int32, CostTime, costTime)
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/dfx/ |
H A D | dfx_types.h | 188 uint64_t costTime; member
|