AutoPas  3.0.0
Loading...
Searching...
No Matches
TuningResultLogger.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <spdlog/async.h>
10
12
13namespace autopas {
14
24 public:
29 explicit TuningResultLogger(const std::string &outputSuffix = "");
30
35
43 void logTuningResult(const autopas::Configuration &configuration, size_t iteration, long timeTuning,
44 long optimumPerformance) const;
45
46 private:
47 std::string _loggerName;
48};
49
50} // 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: TuningResultLogger.h:23
~TuningResultLogger()
Destructor drops the logger from the spd registry.
Definition: TuningResultLogger.cpp:30
void logTuningResult(const autopas::Configuration &configuration, size_t iteration, long timeTuning, long optimumPerformance) const
Log the result of a tuning phase.
Definition: TuningResultLogger.cpp:36
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32