Home
last modified time | relevance | path

Searched refs:ratio (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dconcurrent_helper.cpp67 const auto ratio = GetSystemMemoryRatio(); in GetMemoryLevel() local
68 if (!ratio.has_value()) { // error happens when read memory info, just return the MEMORY_LEVEL_LOW in GetMemoryLevel()
71 if (ratio.value() > MODERATE_MEMORY_RATIO) { in GetMemoryLevel()
73 } else if (ratio.value() > LOW_MEMORY_RATIO) { in GetMemoryLevel()
/commonlibrary/c_utils/base/src/
H A Ddatetime_ex.cpp57 typedef duration<int64_t, std::ratio<SECONDS_PER_DAY>> dayType; in GetDaysSince1970ToNow()

Completed in 2 milliseconds