Halide
12.0.1
Halide compiler and libraries
|
The functions below here are relevant for pipelines compiled with the -profile target flag, which runs a sampling profiler thread alongside the pipeline. More...
#include <HalideRuntime.h>
Public Attributes | |
uint64_t | time |
Total time taken evaluating this Func (in nanoseconds). More... | |
uint64_t | memory_current |
The current memory allocation of this Func. More... | |
uint64_t | memory_peak |
The peak memory allocation of this Func. More... | |
uint64_t | memory_total |
The total memory allocation of this Func. More... | |
uint64_t | stack_peak |
The peak stack allocation of this Func's threads. More... | |
uint64_t | active_threads_numerator |
The average number of thread pool worker threads active while computing this Func. More... | |
uint64_t | active_threads_denominator |
const char * | name |
The name of this Func. More... | |
int | num_allocs |
The total number of memory allocation of this Func. More... | |
The functions below here are relevant for pipelines compiled with the -profile target flag, which runs a sampling profiler thread alongside the pipeline.
Per-Func state tracked by the sampling profiler.
Definition at line 1713 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::time |
Total time taken evaluating this Func (in nanoseconds).
Definition at line 1715 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::memory_current |
The current memory allocation of this Func.
Definition at line 1718 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::memory_peak |
The peak memory allocation of this Func.
Definition at line 1721 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::memory_total |
The total memory allocation of this Func.
Definition at line 1724 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::stack_peak |
The peak stack allocation of this Func's threads.
Definition at line 1727 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::active_threads_numerator |
The average number of thread pool worker threads active while computing this Func.
Definition at line 1730 of file HalideRuntime.h.
uint64_t halide_profiler_func_stats::active_threads_denominator |
Definition at line 1730 of file HalideRuntime.h.
const char* halide_profiler_func_stats::name |
int halide_profiler_func_stats::num_allocs |
The total number of memory allocation of this Func.
Definition at line 1736 of file HalideRuntime.h.