stats: make simTicks and simFreq accessible from stats.hh
This commit is contained in:
parent
50bf3895b0
commit
82fb350f9a
2 changed files with 4 additions and 2 deletions
|
@ -45,6 +45,8 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
Stats::Formula simSeconds;
|
Stats::Formula simSeconds;
|
||||||
|
Stats::Value simTicks;
|
||||||
|
Stats::Value simFreq;
|
||||||
|
|
||||||
namespace Stats {
|
namespace Stats {
|
||||||
|
|
||||||
|
@ -83,9 +85,7 @@ struct Global
|
||||||
Stats::Value hostMemory;
|
Stats::Value hostMemory;
|
||||||
Stats::Value hostSeconds;
|
Stats::Value hostSeconds;
|
||||||
|
|
||||||
Stats::Value simTicks;
|
|
||||||
Stats::Value simInsts;
|
Stats::Value simInsts;
|
||||||
Stats::Value simFreq;
|
|
||||||
|
|
||||||
Global();
|
Global();
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,5 +34,7 @@
|
||||||
#include "base/statistics.hh"
|
#include "base/statistics.hh"
|
||||||
|
|
||||||
extern Stats::Formula simSeconds;
|
extern Stats::Formula simSeconds;
|
||||||
|
extern Stats::Value simTicks;
|
||||||
|
extern Stats::Value simFreq;
|
||||||
|
|
||||||
#endif // __SIM_SIM_STATS_HH__
|
#endif // __SIM_SIM_STATS_HH__
|
||||||
|
|
Loading…
Reference in a new issue