Home
last modified time | relevance | path

Searched refs:KB_PER_MB (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/resourceschedule/memmgr/common/src/config/
H A Dsystem_memory_level_config.cpp91 purgeable *= KB_PER_MB; in ParseConfig()
92 moderate *= KB_PER_MB; in ParseConfig()
93 low *= KB_PER_MB; in ParseConfig()
94 critical *= KB_PER_MB; in ParseConfig()
H A Dkill_config.cpp92 if ((memoryMB * KB_PER_MB) > UINT_MAX) { in ParseKillLevelNode()
96 unsigned int memoryKB = memoryMB * KB_PER_MB; /* MB to KB */ in ParseKillLevelNode()
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp135 const int KB_PER_MB = 1024; variable
138 const int HM_MAX_BUFFER_SIZE = 1024 * KB_PER_MB; // 1024 MB
320 …oleLog("error: buffer size must be from 256 KB to " + std::to_string(maxBufferSizeKB / KB_PER_MB) + in ParseLongOpt()
406 …oleLog("error: buffer size must be from 256 KB to " + std::to_string(maxBufferSizeKB / KB_PER_MB) + in ParseOpt()
/ohos5.0/foundation/resourceschedule/memmgr/common/include/
H A Dkernel_interface.h30 #define KB_PER_MB 1024 macro
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_dump.cpp81 const int KB_PER_MB = 1024; variable
731 int fileSizeThreshold = DEFAULT_FILE_SIZE * KB_PER_MB; in WriteFile()
733 fileSizeThreshold = std::stoi(g_currentTraceParams.fileSize) * KB_PER_MB; in WriteFile()
997 int fileSizeThreshold = DEFAULT_FILE_SIZE * KB_PER_MB; in DumpTraceLoop()
999 fileSizeThreshold = std::stoi(g_currentTraceParams.fileSize) * KB_PER_MB; in DumpTraceLoop()
/ohos5.0/foundation/resourceschedule/memmgr/common/src/
H A Dkernel_interface.cpp366 return atoi(result[ZWAPD_PRESSURE_SHOW_BUFFER_SIZE].c_str()) * KB_PER_MB; in GetCurrentBuffer()