5#include "sparta/statistics/dispatch/StatisticsHierRootNodes.hpp"
6#include "sparta/statistics/dispatch/streams/StreamNode.hpp"
38 std::shared_ptr<StreamNode> & root)
40 roots_.addHierarchyRoot(storage_name, root);
47 return roots_.getRootNames();
55 const std::string & report_filename)
const
57 roots_.mapRootNameToReportFilename(root_name, report_filename);
65 return roots_.getRootByName(root_name);
Utility class that holds onto statistics node hierarchies, accessible by a name that you choose.
Wrapper around the StatisticsHierRootNodes<T> class. This class holds onto root StreamNode's that sit...
std::vector< std::string > getRootNames() const
void mapRootNameToReportFilename(const std::string &root_name, const std::string &report_filename) const
StreamNode * getRootByName(const std::string &root_name)
void addHierarchyRoot(const std::string &storage_name, std::shared_ptr< StreamNode > &root)
When a simulation is configured to stream its statistics values for asynchronous processing,...
Macros for handling exponential backoff.