This file contains C++ classes and functions for working with timing and tracking results. More...
#include <chrono>#include <map>#include <string>

Classes | |
| class | Darknet::TimingAndTracking |
| The timing and tracking functionality is used to find places in the code where optimizations should be made. More... | |
| class | Darknet::TimingRecords |
| An object of this type is statically instantiated in Timing.cpp. More... | |
Namespaces | |
| namespace | Darknet |
| The namespace for the C++ Darknet API. | |
Macros | |
| #define | TAT(n) Darknet::TimingAndTracking tat(n) |
| Create a Darknet::TimingAndTracking object on the stack to generate some information allowing us to debug which parts of the code takes a long time to run. | |
| #define | TAT_COMMENT(n, c) Darknet::TimingAndTracking tat(n, false, c) |
| Similar to TAT() but with a comment. | |
| #define | TAT_REVIEWED(n, d) Darknet::TimingAndTracking tat(n, true, d) |
| Similar to TAT() but indicate this function or method was reviewed, as well as the date when it was last reviewed. | |
| #define | TATPARMS __PRETTY_FUNCTION__ |
This file contains C++ classes and functions for working with timing and tracking results.
| #define TAT | ( | n | ) | Darknet::TimingAndTracking tat(n) |
Create a Darknet::TimingAndTracking object on the stack to generate some information allowing us to debug which parts of the code takes a long time to run.
| #define TAT_COMMENT | ( | n, | |
| c | |||
| ) | Darknet::TimingAndTracking tat(n, false, c) |
Similar to TAT() but with a comment.
| #define TAT_REVIEWED | ( | n, | |
| d | |||
| ) | Darknet::TimingAndTracking tat(n, true, d) |
Similar to TAT() but indicate this function or method was reviewed, as well as the date when it was last reviewed.
| #define TATPARMS __PRETTY_FUNCTION__ |