tvm
|
#include <profiling.h>
Public Attributes | |
Device | dev |
String | name |
Timer | timer |
std::unordered_map< std::string, ObjectRef > | extra_metrics |
std::vector< std::pair< MetricCollector, ObjectRef > > | extra_collectors |
Information about a single function or operator call.
Device tvm::runtime::profiling::CallFrame::dev |
Device on which the call was made
std::vector<std::pair<MetricCollector, ObjectRef> > tvm::runtime::profiling::CallFrame::extra_collectors |
User defined metric collectors. Each pair is the MetricCollector and its associated data (returned from MetricCollector.Start).
std::unordered_map<std::string, ObjectRef> tvm::runtime::profiling::CallFrame::extra_metrics |
Extra performance metrics
String tvm::runtime::profiling::CallFrame::name |
Name of the function or op
Timer tvm::runtime::profiling::CallFrame::timer |
Runtime of the function or op