#include "tools/memory/simulator/memory_simulator.h"
#include <cstdint>
#include "base/check.h"
#include "base/debug/alias.h"
#include "base/logging.h"
#include "base/memory/page_size.h"
#include "base/time/time.h"
#include "tools/memory/simulator/contiguous_memory_holder.h"
namespace memory_simulator {
MemorySimulator::MemorySimulator() = default;
MemorySimulator::~MemorySimulator() = default;
void MemorySimulator::Start(int64_t page_alloc_per_sec,
int64_t page_read_per_sec,
int64_t page_write_per_sec,
int64_t max_pages_allocated,
base::TimeTicks read_deadline,
base::TimeTicks write_deadline) { … }
void MemorySimulator::StopAndFree() { … }
int64_t MemorySimulator::GetPagesAllocated() const { … }
int64_t MemorySimulator::GetPagesRead() const { … }
int64_t MemorySimulator::GetPagesWritten() const { … }
void MemorySimulator::Allocate() { … }
void MemorySimulator::Read() { … }
void MemorySimulator::Write() { … }
}