File indexing completed on 2025-01-18 10:01:26
0001
0002
0003
0004
0005 #pragma once
0006 #include <JANA/JApplication.h>
0007
0008 class JBenchmarker {
0009
0010 JApplication* m_app;
0011 JLogger m_logger;
0012
0013 size_t m_min_threads = 1;
0014 size_t m_max_threads = 0;
0015 unsigned m_thread_step = 1;
0016 unsigned m_nsamples = 15;
0017 std::string m_output_dir = "JANA_Test_Results";
0018 bool m_copy_script = true;
0019
0020 public:
0021 explicit JBenchmarker(JApplication* app);
0022 ~JBenchmarker();
0023 void RunUntilFinished();
0024
0025 private:
0026 void copy_to_output_dir(std::string filename);
0027 };
0028
0029