OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
MonitorStatisticsWriter.h
Go to the documentation of this file.
1//
2// Class MonitorStatisticsWriter
3// This class writes statistics of monitor element.
4//
5// Copyright (c) 2019, Christof Metzger-Kraus, Open Sourcerer
6// All rights reserved
7//
8// This file is part of OPAL.
9//
10// OPAL is free software: you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
12// the Free Software Foundation, either version 3 of the License, or
13// (at your option) any later version.
14//
15// You should have received a copy of the GNU General Public License
16// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17//
18#ifndef OPAL_MONITOR_STATISTICS_WRITER_H
19#define OPAL_MONITOR_STATISTICS_WRITER_H
20
22
23struct SetStatistics;
24
26
27public:
28 MonitorStatisticsWriter(const std::string& fname, bool restart);
29
30 void addRow(const SetStatistics& set);
31
32private:
33 void fillHeader();
34};
35
36#endif
void addRow(const SetStatistics &set)
MonitorStatisticsWriter(const std::string &fname, bool restart)