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_FFI_DECLARE_OBJECT_INFO_FINAL ("meta_schedule.Profiler", ProfilerNode, runtime::Object)
 
ffi::Map< ffi::String, FloatImmGet () const
 Get the internal stats of the running time. More...
 
ffi::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 bool _type_mutable = true
 

Detailed Description

A generic profiler.

Member Function Documentation

◆ Get()

ffi::Map<ffi::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()

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

Return a summary of profiling results as table format.

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::meta_schedule::ProfilerNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "meta_schedule.Profiler"  ,
ProfilerNode  ,
runtime::Object   
)

Member Data Documentation

◆ _type_mutable

constexpr const bool tvm::meta_schedule::ProfilerNode::_type_mutable = true
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: