tvm
Public Member Functions | Static Public Member Functions | List of all members
tvm::runtime::profiling::Report Class Reference

#include <profiling.h>

Inheritance diagram for tvm::runtime::profiling::Report:
Collaboration diagram for tvm::runtime::profiling::Report:

Public Member Functions

 Report (Array< Map< String, ffi::Any >> calls, Map< String, Map< String, ffi::Any >> device_metrics, Map< String, ffi::Any > configuration)
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (Report, ObjectRef, ReportNode)
 

Static Public Member Functions

static Report FromJSON (String json)
 

Constructor & Destructor Documentation

◆ Report()

tvm::runtime::profiling::Report::Report ( Array< Map< String, ffi::Any >>  calls,
Map< String, Map< String, ffi::Any >>  device_metrics,
Map< String, ffi::Any >  configuration 
)
explicit

Construct a Report from a set of calls (with associated metrics) and per-device metrics.

Parameters
callsFunction calls and associated metrics.
device_metricsPer-device metrics for overall execution.
configurationConfiguration data specific to this profiling run.

Member Function Documentation

◆ FromJSON()

static Report tvm::runtime::profiling::Report::FromJSON ( String  json)
static

Deserialize a Report from a JSON object. Needed for sending the report over RPC.

Parameters
jsonSerialized json report from ReportNode::AsJSON.
Returns
A Report.

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

tvm::runtime::profiling::Report::TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS ( Report  ,
ObjectRef  ,
ReportNode   
)

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