AutoPas  3.0.0
Loading...
Searching...
No Matches
TuningDataLogger.h
Go to the documentation of this file.
1
7#pragma once
8
10
11namespace autopas {
12
22 public:
30 explicit TuningDataLogger(size_t numSamples, size_t rebuildFrequency, const std::string &outputSuffix = "");
31
36
47 void logTuningData(const autopas::Configuration &configuration,
48 const std::vector<long> &samplesRebuildingNeighborLists,
49 const std::vector<long> &samplesTraverseInteractions, size_t iteration, long reducedValue,
50 long smoothedVale, double meanRebuildFrequency) const;
51
52 private:
53 std::string _loggerName;
54};
55
56} // namespace autopas
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:24
Helper to log results of the tuning process to a csv file for easier analysis.
Definition: TuningDataLogger.h:21
~TuningDataLogger()
Destructor drops the logger from the spd registry.
Definition: TuningDataLogger.cpp:44
void logTuningData(const autopas::Configuration &configuration, const std::vector< long > &samplesRebuildingNeighborLists, const std::vector< long > &samplesTraverseInteractions, size_t iteration, long reducedValue, long smoothedVale, double meanRebuildFrequency) const
Log the result of a tuning phase.
Definition: TuningDataLogger.cpp:50
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32