17 #define BOOST_FILESYSTEM_VERSION 3
18 #define BOOST_FILESYSTEM_NO_DEPRECATED
20 #include <boost/filesystem.hpp>
21 #include <boost/filesystem/operations.hpp>
22 #include <boost/filesystem/path.hpp>
23 #include <boost/progress.hpp>
24 #include <boost/regex.hpp>
44 std::chrono::high_resolution_clock::time_point
t1;
57 elapsed_time = std::chrono::milliseconds(0);
100 void add_time(
const std::string timer_name);
108 void add_time(
const std::string timer_name,
const int num_incrementations);
115 bool write_timing_data(
const boost::filesystem::path folder_to_write_to,
const int myid);
std::map< std::string, timer_data > active_timers
std::chrono::milliseconds elapsed_time
bool create_timer(const std::string timer_name)
std::chrono::high_resolution_clock::time_point t1
void add_time(const std::string timer_name)
Small class, with no methods, for holding timing data.
bool write_timing_data(const boost::filesystem::path folder_to_write_to, const int myid)
void press_start(const std::string timer_name)
Capable of timing arbitrary categories of processes, using a map of timer_data's. ...