tvm
Classes | Namespaces | Functions
timer.h File Reference

Runtime timer primitives: Timer, TimerNode, WrapTimeEvaluator. More...

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

Go to the source code of this file.

Classes

class  tvm::runtime::TimerNode
 Base class for all timer implementations. More...
 
class  tvm::runtime::Timer
 Timer for a specific device. More...
 

Namespaces

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

Functions

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. More...
 

Detailed Description

Runtime timer primitives: Timer, TimerNode, WrapTimeEvaluator.