Go to the documentation of this file.
38 #ifndef __BASE_STATS_HDF5_HH__
39 #define __BASE_STATS_HDF5_HH__
57 Hdf5(
const std::string &file,
unsigned chunking,
bool desc,
bool formulas);
65 void begin()
override;
67 bool valid()
const override;
128 const std::string &value);
152 const std::string &filename,
unsigned chunking = 10,
153 bool desc =
true,
bool formulas =
true);
157 #endif // __BASE_STATS_HDF5_HH__
H5::DataSet appendVectorInfo(const VectorInfo &info)
Helper function to append vector stats and set their metadata.
H5::DataSet appendStat(const Info &info, int rank, hsize_t *dims, const double *data)
Helper function to append an n-dimensional double stat to the file.
const bool enableDescriptions
std::stack< H5::Group > path
const std::string & name()
void visit(const ScalarInfo &info) override
bool valid() const override
std::unique_ptr< Output > initHDF5(const std::string &filename, unsigned chunking, bool desc, bool formulas)
void beginGroup(const char *name) override
void addMetaData(H5::DataSet &loc, const char *name, const std::vector< const char * > &values)
Helper function to add a string vector attribute to a stat.
Generated on Wed Sep 30 2020 14:02:08 for gem5 by doxygen 1.8.17