The Sparta Modeling Framework
|
Contains a StatisticInstance which refers to a StatisticDef or Counter and some local state to compute a value over a specific sample range. More...
#include <iostream>
#include <sstream>
#include <math.h>
#include <utility>
#include "sparta/kernel/Scheduler.hpp"
#include "sparta/statistics/StatisticDef.hpp"
#include "sparta/statistics/CounterBase.hpp"
#include "sparta/utils/SpartaException.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/simulation/Parameter.hpp"
#include "sparta/simulation/Clock.hpp"
#include "sparta/statistics/Expression.hpp"
#include "sparta/statistics/StatInstCalculator.hpp"
#include "sparta/statistics/dispatch/StatisticSnapshot.hpp"
Go to the source code of this file.
Classes | |
class | sparta::ReversedStatisticRange |
Exception indicating that the range of a StatisticInstance was reversed when it was accessed (probably caused by checkpointing) More... | |
class | sparta::FutureStatisticRange |
Exception indicating that the range of a StatisticInstance starts or ends in the future (probably caused by to checkpointing) More... | |
class | sparta::StatisticInstance |
Instance of either a StatisticDef or CounterBase or an Expression. Has a sample window (simulator ticks) over which it will compute the value of the contained expression/counter for that range. More... | |
Namespaces | |
namespace | sparta |
Macros for handling exponential backoff. | |
Functions | |
std::ostream & | sparta::operator<< (std::ostream &out, sparta::StatisticInstance const &si) |
StatisticInstance stream operator. | |
std::ostream & | sparta::operator<< (std::ostream &out, sparta::StatisticInstance const *si) |
TreeNode stream operator. | |
Contains a StatisticInstance which refers to a StatisticDef or Counter and some local state to compute a value over a specific sample range.
Definition in file StatisticInstance.hpp.