9#include <spdlog/async.h>
10#include <spdlog/fmt/bundled/ranges.h>
11#include <spdlog/sinks/basic_file_sink.h>
12#include <spdlog/sinks/ostream_sink.h>
13#include <spdlog/sinks/stdout_color_sinks.h>
14#include <spdlog/spdlog.h>
36 explicit FLOPLogger(
const std::string &outputSuffix =
"");
52 void logIteration(
size_t iteration,
size_t numFLOPs,
double hitRate);
55 std::string _loggerName;
Helper to log FLOP count and HitRate for AutoPas::iteratePairwise() calls with the functors in the mo...
Definition: FLOPLogger.h:30
void logIteration(size_t iteration, size_t numFLOPs, double hitRate)
Log the given arguments and the internal buffer to the csv file.
Definition: FLOPLogger.cpp:47
~FLOPLogger()
Destructor drops the logger from the spd registry.
Definition: FLOPLogger.cpp:41
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32