tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::meta_schedule::ProfilerNode Class Reference

A generic profiler. More...

#include <profiler.h>

Inheritance diagram for tvm::meta_schedule::ProfilerNode:
Collaboration diagram for tvm::meta_schedule::ProfilerNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (ProfilerNode, runtime::Object)
 
Map< String, FloatImmGet () const
 Get the internal stats of the running time. More...
 
String Table () const
 Return a summary of profiling results as table format. More...
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

std::unordered_map< std::string, double > stats_sec
 The segments that are already profiled. More...
 
ffi::Function total_timer
 Counter for the total time used. More...
 

Static Public Attributes

static constexpr const char * _type_key = "meta_schedule.Profiler"
 

Detailed Description

A generic profiler.

Member Function Documentation

◆ Get()

Map<String, FloatImm> tvm::meta_schedule::ProfilerNode::Get ( ) const

Get the internal stats of the running time.

◆ RegisterReflection()

static void tvm::meta_schedule::ProfilerNode::RegisterReflection ( )
inlinestatic

◆ Table()

String tvm::meta_schedule::ProfilerNode::Table ( ) const

Return a summary of profiling results as table format.

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::meta_schedule::ProfilerNode::TVM_DECLARE_FINAL_OBJECT_INFO ( ProfilerNode  ,
runtime::Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::meta_schedule::ProfilerNode::_type_key = "meta_schedule.Profiler"
staticconstexpr

◆ stats_sec

std::unordered_map<std::string, double> tvm::meta_schedule::ProfilerNode::stats_sec

The segments that are already profiled.

◆ total_timer

ffi::Function tvm::meta_schedule::ProfilerNode::total_timer

Counter for the total time used.


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