base-stats,misc: Rename Stats namespace as statistics
As part of recent decisions regarding namespace naming conventions, all namespaces will be changed to snake case. ::Stats became ::statistics. "statistics" was chosen over "stats" to avoid generating conflicts with the already existing variables (there are way too many "stats" in the codebase), which would make this patch even more disturbing for the users. Change-Id: If877b12d7dac356f86e3b3d941bf7558a4fd8719 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45421 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
fa505f1c23
commit
98ac080ec4
@@ -330,49 +330,49 @@ class Wavefront : public SimObject
|
||||
int barId;
|
||||
|
||||
public:
|
||||
struct WavefrontStats : public Stats::Group
|
||||
struct WavefrontStats : public statistics::Group
|
||||
{
|
||||
WavefrontStats(Stats::Group *parent);
|
||||
WavefrontStats(statistics::Group *parent);
|
||||
|
||||
// Number of instructions executed by this wavefront slot across all
|
||||
// dynamic wavefronts
|
||||
Stats::Scalar numInstrExecuted;
|
||||
statistics::Scalar numInstrExecuted;
|
||||
|
||||
// Number of cycles this WF spends in SCH stage
|
||||
Stats::Scalar schCycles;
|
||||
statistics::Scalar schCycles;
|
||||
|
||||
// Number of stall cycles encounterd by this WF in SCH stage
|
||||
Stats::Scalar schStalls;
|
||||
statistics::Scalar schStalls;
|
||||
|
||||
// The following stats sum to the value of schStalls, and record, per
|
||||
// WF slot, what the cause of each stall was at a coarse granularity.
|
||||
|
||||
// Cycles WF is selected by scheduler, but RFs cannot support
|
||||
// instruction
|
||||
Stats::Scalar schRfAccessStalls;
|
||||
statistics::Scalar schRfAccessStalls;
|
||||
// Cycles spent waiting for execution resources
|
||||
Stats::Scalar schResourceStalls;
|
||||
statistics::Scalar schResourceStalls;
|
||||
// cycles spent waiting for RF reads to complete in SCH stage
|
||||
Stats::Scalar schOpdNrdyStalls;
|
||||
statistics::Scalar schOpdNrdyStalls;
|
||||
// LDS arbitration stall cycles. WF attempts to execute LM instruction,
|
||||
// but another wave is executing FLAT, which requires LM and GM and
|
||||
// forces this WF to stall.
|
||||
Stats::Scalar schLdsArbStalls;
|
||||
statistics::Scalar schLdsArbStalls;
|
||||
|
||||
// number of times an instruction of a WF is blocked from being issued
|
||||
// due to WAR and WAW dependencies
|
||||
Stats::Scalar numTimesBlockedDueWAXDependencies;
|
||||
statistics::Scalar numTimesBlockedDueWAXDependencies;
|
||||
// number of times an instruction of a WF is blocked from being issued
|
||||
// due to WAR and WAW dependencies
|
||||
Stats::Scalar numTimesBlockedDueRAWDependencies;
|
||||
statistics::Scalar numTimesBlockedDueRAWDependencies;
|
||||
|
||||
// Distribution to track the distance between producer and consumer
|
||||
// for vector register values
|
||||
Stats::Distribution vecRawDistance;
|
||||
statistics::Distribution vecRawDistance;
|
||||
|
||||
// Distribution to track the number of times every vector register
|
||||
// value produced is consumed.
|
||||
Stats::Distribution readsPerWrite;
|
||||
statistics::Distribution readsPerWrite;
|
||||
} stats;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user