Home
last modified time | relevance | path

Searched refs:kMegabyte (Results 1 – 7 of 7) sorted by relevance

/external/stressapptest/src/
Dos.cc251 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 …]
Dsat.cc136 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()
Dsattypes.h191 static const int kMegabyte = (1024LL*1024LL); variable
Dworker.h668 blocks_read_ * read_block_size_) / kMegabyte;} in GetDeviceCopiedData()
Dworker.cc887 return pages_copied_ * sat_->page_length() / kMegabyte; in GetCopiedData()
/external/chromium/webkit/glue/media/
Dbuffered_resource_loader.cc31 static const size_t kMegabyte = 1024 * 1024; variable
34 static const size_t kBackwardCapcity = 2 * kMegabyte;
37 static const size_t kForwardCapacity = 10 * kMegabyte;
45 static const int kForwardWaitThreshold = 2 * kMegabyte;
/external/chromium/base/
Dprocess_util_win.cc793 const SIZE_T kMegabyte = 1024 * 1024; in CalculateFreeMemory() local
811 free->largest = largest.RegionSize / kMegabyte; in CalculateFreeMemory()
813 free->total = accumulated / kMegabyte; in CalculateFreeMemory()