Itoyori  v0.0.1
ityr::ori::cache_profiler_stats Class Reference

#include <cache_profiler.hpp>

Public Member Functions

 cache_profiler_stats (cache_entry_idx_t n_blocks)
 
void record (cache_entry_idx_t block_idx, block_region requested_region, const block_region_set &fetched_regions)
 
void record_writeonly (cache_entry_idx_t block_idx, block_region requested_region, const block_region_set &valid_regions)
 
void invalidate (cache_entry_idx_t block_idx, const block_region_set &valid_regions)
 
void start ()
 
void stop ()
 
void print () const
 

Constructor & Destructor Documentation

◆ cache_profiler_stats()

ityr::ori::cache_profiler_stats::cache_profiler_stats ( cache_entry_idx_t  n_blocks)
inline

Member Function Documentation

◆ invalidate()

void ityr::ori::cache_profiler_stats::invalidate ( cache_entry_idx_t  block_idx,
const block_region_set valid_regions 
)
inline

◆ print()

void ityr::ori::cache_profiler_stats::print ( ) const
inline

◆ record()

void ityr::ori::cache_profiler_stats::record ( cache_entry_idx_t  block_idx,
block_region  requested_region,
const block_region_set fetched_regions 
)
inline

◆ record_writeonly()

void ityr::ori::cache_profiler_stats::record_writeonly ( cache_entry_idx_t  block_idx,
block_region  requested_region,
const block_region_set valid_regions 
)
inline

◆ start()

void ityr::ori::cache_profiler_stats::start ( )
inline

◆ stop()

void ityr::ori::cache_profiler_stats::stop ( )
inline

The documentation for this class was generated from the following file: