Home
last modified time | relevance | path

Searched refs:TIMER_MAX_INTERVAL_MS (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/common/include/
H A Dffrt_timer.h33 static constexpr const int TIMER_MAX_INTERVAL_MS = 200; variable
89 int repeatCount = (time > TIMER_MAX_INTERVAL_MS) ? (time / TIMER_MAX_INTERVAL_MS) : 0; in OneTiming()
90 int remainTime = (time > TIMER_MAX_INTERVAL_MS) ? (time % TIMER_MAX_INTERVAL_MS) : time; in OneTiming()
93 ffrt::this_task::sleep_for(std::chrono::milliseconds(TIMER_MAX_INTERVAL_MS)); in OneTiming()
/ohos5.0/foundation/filemanagement/dfs_service/utils/ffrt/src/
H A Dffrt_timer.cpp21 static constexpr uint32_t TIMER_MAX_INTERVAL_MS = 200; variable