|
The Sparta Modeling Framework
|
EnumCycleHistogram implementation using sparta CycleCounters that models enum state lifetimes. This Histogram class can be templated on both C++ enums and sparta::utils::Enums. More...
#include <iostream>#include <string>#include <vector>#include "sparta/utils/MathUtils.hpp"#include "sparta/utils/MetaStructs.hpp"#include "sparta/utils/DetectMemberUtils.hpp"#include "sparta/simulation/TreeNode.hpp"#include "sparta/utils/SpartaAssert.hpp"#include "sparta/statistics/Counter.hpp"#include "sparta/statistics/CycleCounter.hpp"#include "sparta/statistics/StatisticDef.hpp"#include "sparta/statistics/StatisticSet.hpp"#include "sparta/simulation/Resource.hpp"#include "sparta/statistics/CycleHistogram.hpp"Go to the source code of this file.
Classes | |
| struct | sparta::is_sparta_enum< T > |
| Detect whether template parameter is sparta::utils::Enum type. More... | |
| struct | sparta::is_sparta_enum< sparta::utils::Enum< T > > |
| Detect whether template parameter is sparta::utils::Enum type. More... | |
| class | sparta::EnumCycleHistogram< EnumType > |
| EnumCycleHistogram class for C++ Enum values. More... | |
Namespaces | |
| namespace | sparta |
| Macros for handling exponential backoff. | |
Functions | |
| template<typename U > | |
| MetaStruct::enable_if_t< not sparta::is_sparta_enum< U >::value and sparta::utils::has_ostream_operator< U >::value, void > | sparta::getHumanReadableHistogramBinNames (std::vector< std::string > &enum_name_strings) |
| Given an enum class type, this method figures out the string. | |
| template<typename U > | |
| MetaStruct::enable_if_t< not sparta::is_sparta_enum< U >::value and not sparta::utils::has_ostream_operator< U >::value, void > | sparta::getHumanReadableHistogramBinNames (std::vector< std::string > &) |
| Given an enum class type, this method figures out the string. | |
| template<typename U > | |
| MetaStruct::enable_if_t< sparta::is_sparta_enum< U >::value, void > | sparta::getHumanReadableHistogramBinNames (std::vector< std::string > &enum_name_strings) |
| Given an enum class type, this method figures out the string. | |
EnumCycleHistogram implementation using sparta CycleCounters that models enum state lifetimes. This Histogram class can be templated on both C++ enums and sparta::utils::Enums.
Definition in file EnumCycleHistogram.hpp.