Searched refs:kMegabyte (Results 1 – 7 of 7) sorted by relevance
251 if (regionsize_ < 512 * kMegabyte) in FindRegion()252 regionsize_ = 512 * kMegabyte; in FindRegion()347 int64 hugepagesize = FindHugePages() * 2 * kMegabyte; in FindFreeMemSize()364 } else if (physsize < 2048LL * kMegabyte) { in FindFreeMemSize()367 minsize = ((pages * 95) / 100) * pagesize - (192 * kMegabyte); in FindFreeMemSize()375 hugepagesize / kMegabyte, in FindFreeMemSize()376 minsize / kMegabyte); in FindFreeMemSize()390 physsize / kMegabyte, in FindFreeMemSize()391 avphyssize / kMegabyte, in FindFreeMemSize()392 hugepagesize / kMegabyte, in FindFreeMemSize()[all …]
136 size_mb_ = os_->FindFreeMemSize() / kMegabyte; in CheckEnvironment()137 size_ = static_cast<int64>(size_mb_) * kMegabyte; in CheckEnvironment()177 size_ = size_mb_ * kMegabyte; in CheckEnvironment()574 os_->SetMinimumHugepagesSize(min_hugepages_mbytes_ * kMegabyte); in Initialize()603 static_cast<int>(size_/kMegabyte), in Initialize()642 size_ = size_mb_ * kMegabyte; in Sat()938 size_ = static_cast<int64>(size_mb_) * kMegabyte; in ParseArgs()
191 static const int kMegabyte = (1024LL*1024LL); variable
668 blocks_read_ * read_block_size_) / kMegabyte;} in GetDeviceCopiedData()
887 return pages_copied_ * sat_->page_length() / kMegabyte; in GetCopiedData()
31 static const size_t kMegabyte = 1024 * 1024; variable34 static const size_t kBackwardCapcity = 2 * kMegabyte;37 static const size_t kForwardCapacity = 10 * kMegabyte;45 static const int kForwardWaitThreshold = 2 * kMegabyte;
793 const SIZE_T kMegabyte = 1024 * 1024; in CalculateFreeMemory() local811 free->largest = largest.RegionSize / kMegabyte; in CalculateFreeMemory()813 free->total = accumulated / kMegabyte; in CalculateFreeMemory()