// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/memory/simulator/utils.h" #include "base/memory/page_size.h" namespace memory_simulator { double BytesToGB(uint64_t bytes) { … } double BytesToMB(uint64_t bytes) { … } double PagesToGB(uint64_t pages) { … } double PagesToMB(uint64_t pages) { … } int64_t MBToPages(uint64_t mb) { … } double PagesToMBPerSec(int64_t pages_begin, int64_t pages_end, base::TimeDelta duration) { … } } // namespace memory_simulator