tvm
Public Attributes | List of all members
tvm::runtime::profiling::CallFrame Struct Reference

#include <profiling.h>

Collaboration diagram for tvm::runtime::profiling::CallFrame:

Public Attributes

Device dev
 
String name
 
Timer timer
 
std::unordered_map< std::string, ObjectRefextra_metrics
 
std::vector< std::pair< MetricCollector, ObjectRef > > extra_collectors
 

Detailed Description

Information about a single function or operator call.

Member Data Documentation

◆ dev

Device tvm::runtime::profiling::CallFrame::dev

Device on which the call was made

◆ extra_collectors

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).

◆ extra_metrics

std::unordered_map<std::string, ObjectRef> tvm::runtime::profiling::CallFrame::extra_metrics

Extra performance metrics

◆ name

String tvm::runtime::profiling::CallFrame::name

Name of the function or op

◆ timer

Timer tvm::runtime::profiling::CallFrame::timer

Runtime of the function or op


The documentation for this struct was generated from the following file: