|  | 
|  | SST_ELI_DECLARE_STATISTIC_TEMPLATE (HistogramStatistic, "sst", "HistogramStatistic", SST_ELI_ELEMENT_VERSION(1, 0, 0), "Track distribution of statistic across bins", "SST::Statistic<T>") HistogramStatistic(BaseComponent *comp | 
|  | 
| allowedKeySet | push_back ("minvalue") | 
|  | 
| allowedKeySet | push_back ("binwidth") | 
|  | 
| allowedKeySet | push_back ("numbins") | 
|  | 
| allowedKeySet | push_back ("dumpbinsonoutput") | 
|  | 
| allowedKeySet | push_back ("includeoutofbounds") | 
|  | 
| statParams | pushAllowedKeys (allowedKeySet) | 
|  | 
| this | setCollectionCount (0) | 
|  | 
| virtual const std::string & | getStatTypeName () const override | 
|  | Return the Statistic type name. 
 | 
|  | 
| void | serialize_order (SST::Core::Serialization::serializer &ser) override | 
|  | Serialization. 
 | 
|  | 
|  | SST_ELI_DECLARE_INFO (ELI::ProvidesInterface, ELI::ProvidesParams) SST_ELI_DOCUMENT_PARAMS( | 
|  | 
| void | addData (InArgs &&... args) | 
|  | Add data to the Statistic This will call the addData_impl() routine in the derived Statistic. 
 | 
|  | 
| void | addDataNTimes (uint64_t N, InArgs &&... args) | 
|  | 
| void | enable () | 
|  | Enable Statistic for collections. 
 | 
|  | 
| void | disable () | 
|  | Disable Statistic for collections. 
 | 
|  | 
| virtual void | resetCollectionCount () | 
|  | Set the current collection count to 0. 
 | 
|  | 
| virtual void | incrementCollectionCount (uint64_t increment) | 
|  | Increment current collection count. 
 | 
|  | 
| virtual void | setCollectionCount (uint64_t new_count) | 
|  | Set the current collection count to a defined value. 
 | 
|  | 
| virtual void | setCollectionCountLimit (uint64_t new_limit) | 
|  | Set the collection count limit to a defined value. 
 | 
|  | 
| void | setFlagResetCountOnOutput (bool flag) | 
|  | Set the Reset Count On Output flag. 
 | 
|  | 
| void | setFlagClearDataOnOutput (bool flag) | 
|  | Set the Clear Data On Output flag. 
 | 
|  | 
| void | setFlagOutputAtEndOfSim (bool flag) | 
|  | Set the Output At End Of Sim flag. 
 | 
|  | 
| const std::string & | getCompName () const | 
|  | Return the Component Name. 
 | 
|  | 
| const std::string & | getStatName () const | 
|  | Return the Statistic Name. 
 | 
|  | 
| const std::string & | getStatSubId () const | 
|  | Return the Statistic SubId. 
 | 
|  | 
| const std::string & | getFullStatName () const | 
|  | Return the full Statistic name of component.stat_name.sub_id. 
 | 
|  | 
| virtual std::string | getELIName () const =0 | 
|  | Return the ELI type of the statistic The ELI registration macro creates this function automatically for child classes. 
 | 
|  | 
| const StatisticFieldInfo::fieldType_t & | getStatDataType () const | 
|  | Return the Statistic data type. 
 | 
|  | 
| const char * | getStatDataTypeShortName () const | 
|  | Return the Statistic data type. 
 | 
|  | 
| const char * | getStatDataTypeFullName () const | 
|  | Return the Statistic data type. 
 | 
|  | 
| BaseComponent * | getComponent () const | 
|  | Return a pointer to the parent Component. 
 | 
|  | 
| bool | isEnabled () const | 
|  | Return the enable status of the Statistic. 
 | 
|  | 
| bool | isOutputEnabled () const | 
|  | Return the enable status of the Statistic's ability to output data. 
 | 
|  | 
| UnitAlgebra & | getCollectionRate () const | 
|  | Return the rate at which the statistic should be output. 
 | 
|  | 
| UnitAlgebra & | getStartAtTime () const | 
|  | Return the time at which the statistic should be enabled. 
 | 
|  | 
| UnitAlgebra & | getStopAtTime () const | 
|  | Return the time at which the statistic should be disabled. 
 | 
|  | 
| uint64_t | getCollectionCountLimit () const | 
|  | Return the collection count limit. 
 | 
|  | 
| uint64_t | getCollectionCount () const | 
|  | Return the current collection count. 
 | 
|  | 
| bool | getFlagResetCountOnOutput () const | 
|  | Return the ResetCountOnOutput flag value. 
 | 
|  | 
| bool | getFlagClearDataOnOutput () const | 
|  | Return the ClearDataOnOutput flag value. 
 | 
|  | 
| bool | getFlagOutputAtEndOfSim () const | 
|  | Return the OutputAtEndOfSim flag value. 
 | 
|  | 
| StatMode_t | getRegisteredCollectionMode () const | 
|  | Return the collection mode that is registered. 
 | 
|  | 
| virtual bool | isReady () const | 
|  | Indicate that the Statistic is Ready to be used. 
 | 
|  | 
| virtual bool | isNullStatistic () const | 
|  | Indicate if the Statistic is a NullStatistic. 
 | 
|  | 
|  | 
| const std::string & | statName | 
|  | 
| const std::string const std::string & | statSubId | 
|  | 
| const std::string const std::string Params & | statParams: Statistic<BinDataType>(comp | 
|  | 
| const std::string const std::string Params | statName | 
|  | 
| const std::string const std::string Params | statSubId | 
|  | 
| const std::string const std::string Params | statParams | 
|  | 
|  | m_minValue = statParams.find<BinDataType>("minvalue", 0) | 
|  | 
|  | m_binWidth = statParams.find<NumBinsType>("binwidth", 5000) | 
|  | 
|  | m_numBins = statParams.find<NumBinsType>("numbins", 100) | 
|  | 
|  | m_dumpBinsOnOutput = statParams.find<bool>("dumpbinsonoutput", true) | 
|  | 
|  | m_includeOutOfBounds = statParams.find<bool>("includeoutofbounds", true) | 
|  | 
|  | m_totalSummed = 0 | 
|  | 
|  | m_totalSummedSqr = 0 | 
|  | 
|  | m_OOBMinCount = 0 | 
|  | 
|  | m_OOBMaxCount = 0 | 
|  | 
|  | m_itemsBinnedCount = 0 | 
|  | 
|  | 
| void | addData_impl_Ntimes (uint64_t N, BinDataType value) override | 
|  | Adds a new value to the histogram. 
 | 
|  | 
| void | addData_impl (BinDataType value) override | 
|  | 
|  | Statistic (BaseComponent *comp, const std::string &stat_name, const std::string &stat_sub_id, Params &stat_params, bool null_stat=false) | 
|  | Construct a Statistic. 
 | 
|  | 
|  | StatisticBase (BaseComponent *comp, const std::string &stat_name, const std::string &stat_sub_id, Params &stat_params, bool null_stat) | 
|  | Construct a StatisticBase. 
 | 
|  | 
| void | setStatisticDataType (const StatisticFieldInfo::fieldType_t data_type) | 
|  | Set the Statistic Data Type. 
 | 
|  | 
| void | setStatisticTypeName (const char *type_name) | 
|  | Set an optional Statistic Type Name (for output) 
 | 
|  | 
template<class BinDataType>
class SST::Statistics::HistogramStatistic< BinDataType >
Holder of data grouped into pre-determined width bins. 
- Template Parameters
- 
  
    | BinDataType | is the type of the data held in each bin (i.e. what data type described the width of the bin) |