Thermal-FIST  1.3
Package for hadron resonance gas model applications
Utility.h
Go to the documentation of this file.
1 /*
2  * Thermal-FIST package
3  *
4  * Copyright (c) 2019 Volodymyr Vovchenko
5  *
6  * GNU General Public License (GPLv3 or later)
7  */
8 #ifndef UTILITY_H
9 #define UTILITY_H
10 
18 #include <string>
19 
20 namespace thermalfist {
21 
22  class Disclaimer {
23 
24  public:
25  static bool PrintDisclaimer();
26 
27  static bool DisclaimerPrinted;
28 
29  };
30 
31 
32  // For C99 compatibility
33  long long stringToLongLong(const std::string &str);
34 
35  double get_wall_time();
36 
37  double get_cpu_time();
38 
39 } // namespace thermalfist
40 
41 #endif
long long stringToLongLong(const std::string &str)
static bool PrintDisclaimer()
Definition: Utility.cpp:47
static bool DisclaimerPrinted
Definition: Utility.h:27
double get_wall_time()
Definition: Utility.cpp:187
double get_cpu_time()
Definition: Utility.cpp:195
The main namespace where all classes and functions of the Thermal-FIST library reside.