Home
last modified time | relevance | path

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

/external/stressapptest/src/
Dos.cc302 if (regionsize_ < 512 * kMegabyte) in FindRegion()
303 regionsize_ = 512 * kMegabyte; in FindRegion()
406 int64 hugepagesize = FindHugePages() * 2 * kMegabyte; in FindFreeMemSize()
428 if (physsize < 2048LL * kMegabyte) { in FindFreeMemSize()
431 minsize = ((pages * 95) / 100) * pagesize - (192 * kMegabyte); in FindFreeMemSize()
436 int64 reserve_kb = reserve_mb_ * kMegabyte; in FindFreeMemSize()
453 hugepagesize / kMegabyte, in FindFreeMemSize()
454 minsize / kMegabyte); in FindFreeMemSize()
468 physsize / kMegabyte, in FindFreeMemSize()
469 avphyssize / kMegabyte, in FindFreeMemSize()
[all …]
Dsat.cc156 size_mb_ = os_->FindFreeMemSize() / kMegabyte; in CheckEnvironment()
157 size_ = static_cast<int64>(size_mb_) * kMegabyte; in CheckEnvironment()
197 size_ = size_mb_ * kMegabyte; in CheckEnvironment()
589 os_->SetMinimumHugepagesSize(min_hugepages_mbytes_ * kMegabyte); in Initialize()
629 static_cast<int>(size_/kMegabyte), in Initialize()
668 size_ = size_mb_ * kMegabyte; in Sat()
1014 size_ = static_cast<int64>(size_mb_) * kMegabyte; in ParseArgs()
Dsattypes.h237 static const int kMegabyte = (1024LL*1024LL); variable
Dworker.h678 blocks_read_ * read_block_size_) / kMegabyte;} in GetDeviceCopiedData()
Dworker.cc874 return pages_copied_ * sat_->page_length() / kMegabyte; in GetCopiedData()