Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 42) sorted by relevance

12

/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
Ddecorator.cpp26 uint64_t latency = (endTime - startTime) > 0 ? (endTime - startTime) : 0; in UpdateStatInfo() local
32 .avgLatency = latency, in UpdateStatInfo()
33 .maxLatency = latency, in UpdateStatInfo()
34 .totalTimeSpend = latency, in UpdateStatInfo()
43 statInfo.totalTimeSpend += latency; in UpdateStatInfo()
44 statInfo.maxLatency = statInfo.maxLatency < latency ? latency : statInfo.maxLatency; in UpdateStatInfo()
Dtrace_decorator.cpp102 uint64_t latency = (endTime - startTime > 0) ? (endTime - startTime) : 0; in UpdateTraceStatInfo() local
110 .isOverCall = isOverCall, .latency = latency}; in UpdateTraceStatInfo()
112 UpdateTrafficInfo(callerStr, latency, result); in UpdateTraceStatInfo()
124 .avgLatency = item.latency, in UpdateAPIStatInfo()
125 .maxLatency = item.latency, in UpdateAPIStatInfo()
126 .totalTimeSpend = item.latency, in UpdateAPIStatInfo()
136 statInfo.totalTimeSpend += item.latency; in UpdateAPIStatInfo()
137 if (statInfo.maxLatency < item.latency) { in UpdateAPIStatInfo()
138 statInfo.maxLatency = item.latency; in UpdateAPIStatInfo()
146 void TraceStatWrapper::UpdateTrafficInfo(const std::string& caller, uint64_t latency, in UpdateTrafficInfo() argument
[all …]
/base/msdp/device_status/intention/stationary/data/src/
Dstationary_params.cpp23 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in SubscribeStationaryParam() argument
24 : type_(type), event_(event), latency_(latency), callback_(callback) in SubscribeStationaryParam()
42 int32_t latency {}; in Unmarshalling() local
46 parcel.ReadInt32(latency); in Unmarshalling()
52 latency_ = static_cast<ReportLatencyNs>(latency); in Unmarshalling()
/base/msdp/device_status/frameworks/native/src/
Ddevicestatus_agent.cpp43 ReportLatencyNs latency, in SubscribeAgentEvent() argument
53 RegisterServiceEvent(type, event, latency); in SubscribeAgentEvent()
69 …id DeviceStatusAgent::RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency) in RegisterServiceEvent() argument
74 StationaryManager::GetInstance()->SubscribeCallback(type, event, latency, callback_); in RegisterServiceEvent()
Dstationary_manager.cpp38 …t32_t StationaryManager::SubscribeCallback(Type type, ActivityEvent event, ReportLatencyNs latency, in SubscribeCallback() argument
42 return INTER_MGR_IMPL.SubscribeCallback(type, event, latency, callback); in SubscribeCallback()
44 return DeviceStatusClient::GetInstance().SubscribeCallback(type, event, latency, callback); in SubscribeCallback()
/base/msdp/device_status/test/systemtest/src/
Ddevicestatus_client_test.cpp61 ReportLatencyNs latency = ReportLatencyNs::Latency_INVALID; variable
63 …esult = stationaryMgr->SubscribeCallback(Type::TYPE_VERTICAL_POSITION, activityEvent, latency, cb);
68 result = stationaryMgr->SubscribeCallback(Type::TYPE_INVALID, activityEvent, latency, cb);
73 … result = stationaryMgr->SubscribeCallback(Type::TYPE_ABSOLUTE_STILL, activityEvent, latency, cb);
78 …ult = stationaryMgr->SubscribeCallback(Type::TYPE_HORIZONTAL_POSITION, activityEvent, latency, cb);
83 result = stationaryMgr->SubscribeCallback(Type::TYPE_LID_OPEN, activityEvent, latency, cb);
88 result = stationaryMgr->SubscribeCallback(Type::TYPE_MAX, activityEvent, latency, cb);
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetlatency_fuzzer/
Daudiogetlatency_fuzzer.cpp32 uint64_t latency = 0; in AudioGetLatencyFuzzTest() local
33 adapter.GetLatency(latency); in AudioGetLatencyFuzzTest()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiowriterender_fuzzer/
Daudiowriterender_fuzzer.cpp32 uint8_t *latency = 0; in AudioWriteRenderFuzzTest() local
33 adapter.Write(latency, sizeof(uint8_t)); in AudioWriteRenderFuzzTest()
/base/msdp/device_status/intention/stationary/client/src/
Dstationary_client.cpp30 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in SubscribeCallback() argument
32 SubscribeStationaryParam param { type, event, latency, callback }; in SubscribeCallback()
34 …("SubscribeStationary(type:%{public}d,event:%{public}d,latency:%{public}d)", type, event, latency); in SubscribeCallback()
/base/msdp/device_status/interfaces/innerkits/include/
Ddevicestatus_agent.h48 int32_t SubscribeAgentEvent(Type type, ActivityEvent event, ReportLatencyNs latency,
54 void RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency);
Dstationary_manager.h50 int32_t SubscribeCallback(Type type, ActivityEvent event, ReportLatencyNs latency,
/base/web/webview/ohos_glue/ohos_adapter/bridge/
Dark_audio_renderer_adapter_impl.cpp64 int32_t ArkAudioRendererAdapterImpl::GetLatency(uint64_t& latency) in GetLatency() argument
66 return real_->GetLatency(latency); in GetLatency()
Dark_audio_renderer_adapter_impl.h41 int32_t GetLatency(uint64_t& latency) override;
/base/web/webview/ohos_glue/ohos_adapter/cpptoc/
Dark_audio_renderer_adapter_cpptoc.cpp95 struct _ark_audio_renderer_adapter_t* self, uint64_t* latency) in ark_audio_renderer_adapter_get_latency() argument
101 ARK_WEB_CPPTOC_CHECK_PARAM(latency, 0); in ark_audio_renderer_adapter_get_latency()
104 return ArkAudioRendererAdapterCppToC::Get(self)->GetLatency(*latency); in ark_audio_renderer_adapter_get_latency()
/base/msdp/device_status/intention/stationary/server/src/
Dstationary_server.cpp128 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in Subscribe() argument
130 …("SubscribeStationary(type:%{public}d,event:%{public}d,latency:%{public}d)", type, event, latency); in Subscribe()
140 manager_.Subscribe(type, event, latency, callback); in Subscribe()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_renderer_adapter_mock.cpp52 int32_t AudioRendererAdapterImpl::GetLatency(uint64_t& latency) in GetLatency() argument
/base/msdp/device_status/intention/stationary/client/include/
Dstationary_client.h36 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_napi.cpp332 int32_t type, int32_t event, int32_t latency) in SubscribeDeviceStatusCallback() argument
361 static_cast<ActivityEvent>(event), static_cast<ReportLatencyNs>(latency), callback); in SubscribeDeviceStatusCallback()
376 const auto [ret, handler, typeMode, event, latency] = CheckSubscribeParam(env, info); in SubscribeDeviceStatus()
382 FI_HILOGD("type:%{public}d, event:%{public}d, latency:%{public}d", type, event, latency); in SubscribeDeviceStatus()
391 if ((latency < ReportLatencyNs::SHORT) || (latency > ReportLatencyNs::LONG)) { in SubscribeDeviceStatus()
395 return SubscribeDeviceStatusCallback(env, info, handler, type, event, latency); in SubscribeDeviceStatus()
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/
Dtrace_decorator.h32 uint32_t latency = 0; member
98 void UpdateTrafficInfo(const std::string& caller, uint64_t latency,
/base/msdp/device_status/intention/stationary/data/include/
Dstationary_params.h35 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
/base/web/webview/ohos_glue/ohos_adapter/include/
Dark_audio_renderer_adapter.h82 virtual int32_t GetLatency(uint64_t& latency) = 0;
/base/web/webview/ohos_glue/ohos_adapter/capi/
Dark_audio_renderer_adapter_capi.h78 …32_t(ARK_WEB_CALLBACK* get_latency)(struct _ark_audio_renderer_adapter_t* self, uint64_t* latency);
/base/msdp/device_status/services/native/include/
Ddevicestatus_manager.h50 …void Subscribe(Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback…
/base/web/webview/ohos_adapter/audio_adapter/include/
Daudio_renderer_adapter_impl.h63 int32_t GetLatency(uint64_t& latency) override;
/base/msdp/device_status/intention/stationary/server/include/
Dstationary_server.h45 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);

12