#include <profiling.h>
◆ Report()
| tvm::runtime::profiling::Report::Report |
( |
ffi::Array< ffi::Map< ffi::String, ffi::Any >> |
calls, |
|
|
ffi::Map< ffi::String, ffi::Map< ffi::String, ffi::Any >> |
device_metrics, |
|
|
ffi::Map< ffi::String, ffi::Any > |
configuration |
|
) |
| |
|
explicit |
Construct a Report from a set of calls (with associated metrics) and per-device metrics.
- Parameters
-
| calls | Function calls and associated metrics. |
| device_metrics | Per-device metrics for overall execution. |
| configuration | Configuration data specific to this profiling run. |
◆ FromJSON()
| static Report tvm::runtime::profiling::Report::FromJSON |
( |
ffi::String |
json | ) |
|
|
static |
Deserialize a Report from a JSON object. Needed for sending the report over RPC.
- Parameters
-
- Returns
- A Report.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::runtime::profiling::Report::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
Report |
, |
|
|
ObjectRef |
, |
|
|
ReportNode |
|
|
) |
| |
The documentation for this class was generated from the following file: