7 std::chrono::time_point<std::chrono::high_resolution_clock>
startTime;
8 std::chrono::time_point<std::chrono::high_resolution_clock>
endTime;
36 long long castedStartTime
42 = std::chrono::time_point_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now())
45 std::cout <<
"Execution Time: " << castedStartTime - castEndTime <<
"\n";
47 std::cout <<
"ThreadId: " << std::hash<std::thread::id>{}(std::this_thread::get_id()) <<
"\n";
51 std::cout << infoEntry <<
"\n";
Definition: perfPrinter.h:17
~perfPrinter()
Definition: perfPrinter.h:25
void printStats()
Definition: perfPrinter.h:30
perfPrinter(const std::string &Name)
Definition: perfPrinter.h:21
perfStats currentRunStats
Definition: perfPrinter.h:19
Definition: perfPrinter.h:6
std::string StatName
Definition: perfPrinter.h:9
bool Stop
Definition: perfPrinter.h:14
std::string FoderText
Definition: perfPrinter.h:11
std::vector< std::string > extraInfo
Definition: perfPrinter.h:13
std::chrono::time_point< std::chrono::high_resolution_clock > startTime
Definition: perfPrinter.h:7
std::string Note
Definition: perfPrinter.h:12
std::chrono::time_point< std::chrono::high_resolution_clock > endTime
Definition: perfPrinter.h:8
std::string HeaderText
Definition: perfPrinter.h:10