Home
last modified time | relevance | path

Searched refs:SECOND_TO_MICROSECOND (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/flowctrl_manager/
H A Dkvstore_flowctrl_manager.cpp24 const int SECOND_TO_MICROSECOND = 1000; variable
29 return (tv.tv_sec * SECOND_TO_MICROSECOND + tv.tv_usec / SECOND_TO_MICROSECOND); in CurrentTimeMicros()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dm3u8.cpp35 constexpr double SECOND_TO_MICROSECOND = 1000.0 * 1000.0; variable
184 duration += static_cast<size_t>(frag->duration_ * SECOND_TO_MICROSECOND); in UpdateFromTags()
222 duration += static_cast<size_t>(info.duration * SECOND_TO_MICROSECOND); in UpdateFromTags()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/
H A Doffload_audio_renderer_sink.cpp63 const uint64_t SECOND_TO_MICROSECOND = 1000000; variable
434 frames = frames_ * SECOND_TO_MICROSECOND / attr_.sampleRate; in GetPresentationPosition()
846 …uint64_t hdiLatency = renderPos_ * SECOND_TO_MICROSECOND / (AUDIO_SAMPLE_RATE_48K * 4 * STEREO_CHA… in GetLatency()
/ohos5.0/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_common_util.cpp65 constexpr int SECOND_TO_MICROSECOND = 1000 * 1000; variable
288 …return static_cast<int64_t>(times.tv_sec) * SECOND_TO_MICROSECOND + times.tv_nsec / MICROSECOND_TO… in GetElapsedMicrosecondsSinceBoot()