Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-05 08:58:09

0001 
0002 // Copyright 2020, Jefferson Science Associates, LLC.
0003 // Subject to the terms in the LICENSE file found in the top-level directory.
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     bool m_use_log_scale = false;
0020 
0021 public:
0022     explicit JBenchmarker(JApplication* app);
0023     ~JBenchmarker();
0024     void RunUntilFinished();
0025 
0026 private:
0027     void copy_to_output_dir(std::string filename);
0028 };
0029 
0030