gem5
v19.0.0.0
|
#include <map>
#include <vector>
#include <string>
Go to the source code of this file.
Classes | |
class | Stats::Group |
Statistics container. More... | |
Namespaces | |
Stats | |
Macros | |
#define | ADD_STAT(n, ...) n(this, # n, __VA_ARGS__) |
Convenience macro to add a stat to a statistics group. More... | |
#define ADD_STAT | ( | n, | |
... | |||
) | n(this, # n, __VA_ARGS__) |
Convenience macro to add a stat to a statistics group.
This macro is used to add a stat to a Stats::Group in the initilization list in the Group's constructor. The macro automatically assigns the stat to the current group and gives it the same name as in the class. For example:
Definition at line 69 of file group.hh.
Referenced by BaseXBar::Layer< MasterPort, SlavePort >::Layer().