24#ifndef TVM_RUNTIME_TIMING_H_
25#define TVM_RUNTIME_TIMING_H_
27#include <tvm/ffi/function.h>
139 ffi::Function f,
Device dev,
int number,
int repeat,
int min_repeat_ms,
140 int limit_zero_time_iterations,
int cooldown_interval_ms,
int repeats_to_cooldown,
141 int cache_flush_bytes = 0, ffi::Function f_preproc =
nullptr);
Timer for a specific device.
Definition timer.h:74
Abstract device memory management API.
TVM_RUNTIME_EXTRA_DLL ffi::Function 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.
TVM_RUNTIME_EXTRA_DLL Timer StartTimer(Device dev)
Get a device specific timer.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analysis.h:41
DLDevice Device
Definition device_api.h:46
Device timer interface and object reference.