#include <opennn/core/profiler.h>
|
| void | add (const string &key, double ms, double bytes=0.0) |
| |
| void | set (const string &key, double total_ms, long calls, double total_bytes=0.0) |
| |
| void | clear () |
| |
| double | total_ms () const |
| |
| long | call_count (const string &key) const |
| |
| void | log (const string &title, double total_ms=0.0, string_view category="PROFILE") const |
| |
| void | print (ostream &os, const string &title, double total_ms=0.0, string_view category="PROFILE") const |
| |
◆ add()
| void opennn::profiler::Stats::add |
( |
const string & | key, |
|
|
double | ms, |
|
|
double | bytes = 0.0 ) |
|
inline |
◆ call_count()
| long opennn::profiler::Stats::call_count |
( |
const string & | key | ) |
const |
|
inline |
◆ clear()
| void opennn::profiler::Stats::clear |
( |
| ) |
|
|
inline |
◆ log()
| void opennn::profiler::Stats::log |
( |
const string & | title, |
|
|
double | total_ms = 0.0, |
|
|
string_view | category = "PROFILE" ) const |
|
inline |
◆ print()
| void opennn::profiler::Stats::print |
( |
ostream & | os, |
|
|
const string & | title, |
|
|
double | total_ms = 0.0, |
|
|
string_view | category = "PROFILE" ) const |
|
inline |
◆ set()
| void opennn::profiler::Stats::set |
( |
const string & | key, |
|
|
double | total_ms, |
|
|
long | calls, |
|
|
double | total_bytes = 0.0 ) |
|
inline |
◆ total_ms()
| double opennn::profiler::Stats::total_ms |
( |
| ) |
const |
|
inline |