tvm
Loading...
Searching...
No Matches
Namespaces | Functions
timing.h File Reference

Parent runtime timing and benchmarking policy. More...

#include <tvm/ffi/function.h>
#include <tvm/runtime/device_api.h>
#include <tvm/runtime/extra_base.h>
#include <tvm/runtime/timer.h>
Include dependency graph for timing.h:

Go to the source code of this file.

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::runtime
 

Functions

TVM_RUNTIME_EXTRA_DLL Timer tvm::runtime::StartTimer (Device dev)
 Get a device specific timer.
 
TVM_RUNTIME_EXTRA_DLL ffi::Function tvm::runtime::WrapTimeEvaluator (ffi::Function f, Device dev, int number, int repeat, int min_repeat_ms, int limit_zero_time_iterations, int cooldown_interval_ms, int repeats_to_cooldown, int cache_flush_bytes=0, ffi::Function f_preproc=nullptr)
 Wrap a timer function to measure the time cost of a given packed function.
 

Detailed Description

Parent runtime timing and benchmarking policy.