An object of this type is statically instantiated in Timing.cpp. More...
#include "Timing.hpp"
Public Member Functions | |
TimingRecords () | |
~TimingRecords () | |
TimingRecords & | add (const TimingAndTracking &tat) |
Public Attributes | |
std::map< std::string, std::string > | comment_per_function |
std::map< std::string, uint64_t > | max_elapsed_time_per_function |
in nanoseconds | |
std::map< std::string, uint64_t > | min_elapsed_time_per_function |
in nanoseconds | |
std::map< std::string, uint64_t > | number_of_calls_per_function |
std::map< std::string, bool > | reviewed_per_function |
std::map< std::string, uint64_t > | total_elapsed_time_per_function |
in nanoseconds | |
An object of this type is statically instantiated in Timing.cpp.
It is used to store all the results from the various TimingAndTracking objects. Upon destruction, this object will format all of the entries and display then on the console. Note this is expensive, and is only enabled when the necessary build flag has been set. See the documentation in TimingAndTracking.
Darknet::TimingRecords::TimingRecords | ( | ) |
Darknet::TimingRecords::~TimingRecords | ( | ) |
Darknet::TimingRecords & Darknet::TimingRecords::add | ( | const TimingAndTracking & | tat | ) |
std::map<std::string, std::string> Darknet::TimingRecords::comment_per_function |
std::map<std::string, uint64_t> Darknet::TimingRecords::max_elapsed_time_per_function |
in nanoseconds
std::map<std::string, uint64_t> Darknet::TimingRecords::min_elapsed_time_per_function |
in nanoseconds
std::map<std::string, uint64_t> Darknet::TimingRecords::number_of_calls_per_function |
std::map<std::string, bool> Darknet::TimingRecords::reviewed_per_function |
std::map<std::string, uint64_t> Darknet::TimingRecords::total_elapsed_time_per_function |
in nanoseconds