gem5
v21.0.0.0
|
#include <statistics.hh>
Public Member Functions | |
ScalarStatNode (const ScalarInfo *d) | |
const VResult & | result () const |
Return the result vector of this subtree. More... | |
Result | total () const |
Return the total of the result vector. More... | |
size_type | size () const |
Return the number of nodes in the subtree starting at this node. More... | |
std::string | str () const |
![]() | |
virtual | ~Node () |
Private Attributes | |
const ScalarInfo * | data |
VResult | vresult |
Definition at line 1556 of file statistics.hh.
|
inline |
Definition at line 1563 of file statistics.hh.
|
inlinevirtual |
Return the result vector of this subtree.
Implements Stats::Node.
Definition at line 1566 of file statistics.hh.
References data, Stats::ScalarInfo::result(), and vresult.
|
inlinevirtual |
Return the number of nodes in the subtree starting at this node.
Implements Stats::Node.
Definition at line 1574 of file statistics.hh.
|
inlinevirtual |
Implements Stats::Node.
Definition at line 1579 of file statistics.hh.
References data, and Stats::Info::name.
|
inlinevirtual |
Return the total of the result vector.
Implements Stats::Node.
Definition at line 1572 of file statistics.hh.
References data, and Stats::ScalarInfo::result().
|
private |
Definition at line 1559 of file statistics.hh.
|
mutableprivate |
Definition at line 1560 of file statistics.hh.
Referenced by result().