|
tvm
|
#include <profiling.h>
Public Attributes | |
| Device | dev |
| ffi::String | name |
| Timer | timer |
| std::unordered_map< std::string, ffi::Any > | 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, ffi::Any> tvm::runtime::profiling::CallFrame::extra_metrics |
Extra performance metrics
| ffi::String tvm::runtime::profiling::CallFrame::name |
Name of the function or op
| Timer tvm::runtime::profiling::CallFrame::timer |
Runtime of the function or op