42#include "params/MemFootprintProbe.hh"
61 "MemFootprintProbe expects cache line size is power of 2.");
63 "MemFootprintProbe expects page size parameter is power of 2");
70 "Memory footprint at cache line granularity"),
72 "Total memory footprint at cache line granularity since "
75 "Memory footprint at page granularity"),
77 "Total memory footprint at page granularity since simulation "
BaseMemProbe(const BaseMemProbeParams ¶ms)
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
static constexpr std::enable_if_t< std::is_integral_v< T >, int > floorLog2(T x)
static constexpr bool isPowerOf2(const T &n)
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
BitfieldType< SegDescriptorLimit > limit
const FlagsType nonan
Don't print if this is NAN.
const FlagsType nozero
Don't print if this is zero.
void registerResetCallback(const std::function< void()> &callback)
Register a callback that should be called whenever statistics are reset.
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A struct to hold on to the essential fields from a packet, so that the packet and underlying request ...