dlvhex
2.5.0
|
Information about a single benchmark value. More...
#include <include/dlvhex2/Benchmarking.h>
Public Member Functions | |
Stat (const std::string &name) | |
Constructor. | |
Data Fields | |
std::string | name |
Counter name. | |
Count | count |
Number of calls. | |
Count | level |
Nesting level (1 = started once, 2 = started twice, ...) | |
Count | prints |
Number of times the counter was started since it was printed last. | |
Time | start |
Timestamp when the counter was started. | |
Duration | duration |
Sum of durations the counter was run so far. | |
bool | running |
Flag whether the counter currently runs. |
Information about a single benchmark value.
Definition at line 185 of file Benchmarking.h.
benchmark::simple::BenchmarkController::Stat::Stat | ( | const std::string & | name | ) |
Number of calls.
Definition at line 190 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::count(), benchmark::simple::BenchmarkController::printCount(), benchmark::simple::BenchmarkController::printInformation(), benchmark::simple::BenchmarkController::printInformationContinous(), benchmark::simple::BenchmarkController::snapshot(), benchmark::simple::BenchmarkController::stop(), and benchmark::simple::BenchmarkController::~BenchmarkController().
Sum of durations the counter was run so far.
Definition at line 198 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::printDuration(), benchmark::simple::BenchmarkController::printInformation(), benchmark::simple::BenchmarkController::printInformationContinous(), benchmark::simple::BenchmarkController::snapshot(), benchmark::simple::BenchmarkController::stop(), and benchmark::simple::BenchmarkController::~BenchmarkController().
Nesting level (1 = started once, 2 = started twice, ...)
Definition at line 192 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::start(), and benchmark::simple::BenchmarkController::stop().
Counter name.
Definition at line 188 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::printInformation(), and benchmark::simple::BenchmarkController::printInformationContinous().
Count benchmark::simple::BenchmarkController::Stat::prints |
Number of times the counter was started since it was printed last.
Definition at line 194 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::count(), and benchmark::simple::BenchmarkController::printInformationContinous().
bool benchmark::simple::BenchmarkController::Stat::running |
Flag whether the counter currently runs.
Definition at line 200 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::invalidate(), benchmark::simple::BenchmarkController::printInformationContinous(), benchmark::simple::BenchmarkController::snapshot(), benchmark::simple::BenchmarkController::start(), benchmark::simple::BenchmarkController::stop(), and benchmark::simple::BenchmarkController::~BenchmarkController().
Time benchmark::simple::BenchmarkController::Stat::start |
Timestamp when the counter was started.
Definition at line 196 of file Benchmarking.h.
Referenced by benchmark::simple::BenchmarkController::snapshot(), benchmark::simple::BenchmarkController::start(), benchmark::simple::BenchmarkController::stop(), and benchmark::simple::BenchmarkController::~BenchmarkController().