Halide
12.0.1
Halide compiler and libraries
|
Per-pipeline state tracked by the sampling profiler. More...
#include <HalideRuntime.h>
Public Attributes | |
uint64_t | time |
Total time spent inside this pipeline (in nanoseconds) More... | |
uint64_t | memory_current |
The current memory allocation of funcs in this pipeline. More... | |
uint64_t | memory_peak |
The peak memory allocation of funcs in this pipeline. More... | |
uint64_t | memory_total |
The total memory allocation of funcs in this pipeline. More... | |
uint64_t | active_threads_numerator |
The average number of thread pool worker threads doing useful work while computing this pipeline. More... | |
uint64_t | active_threads_denominator |
const char * | name |
The name of this pipeline. More... | |
struct halide_profiler_func_stats * | funcs |
An array containing states for each Func in this pipeline. More... | |
void * | next |
The next pipeline_stats pointer. More... | |
int | num_funcs |
The number of funcs in this pipeline. More... | |
int | first_func_id |
An internal base id used to identify the funcs in this pipeline. More... | |
int | runs |
The number of times this pipeline has been run. More... | |
int | samples |
The total number of samples taken inside of this pipeline. More... | |
int | num_allocs |
The total number of memory allocation of funcs in this pipeline. More... | |
Per-pipeline state tracked by the sampling profiler.
These exist in a linked list.
Definition at line 1741 of file HalideRuntime.h.
uint64_t halide_profiler_pipeline_stats::time |
Total time spent inside this pipeline (in nanoseconds)
Definition at line 1743 of file HalideRuntime.h.
uint64_t halide_profiler_pipeline_stats::memory_current |
The current memory allocation of funcs in this pipeline.
Definition at line 1746 of file HalideRuntime.h.
uint64_t halide_profiler_pipeline_stats::memory_peak |
The peak memory allocation of funcs in this pipeline.
Definition at line 1749 of file HalideRuntime.h.
uint64_t halide_profiler_pipeline_stats::memory_total |
The total memory allocation of funcs in this pipeline.
Definition at line 1752 of file HalideRuntime.h.
uint64_t halide_profiler_pipeline_stats::active_threads_numerator |
The average number of thread pool worker threads doing useful work while computing this pipeline.
Definition at line 1756 of file HalideRuntime.h.
uint64_t halide_profiler_pipeline_stats::active_threads_denominator |
Definition at line 1756 of file HalideRuntime.h.
const char* halide_profiler_pipeline_stats::name |
The name of this pipeline.
A global constant string.
Definition at line 1759 of file HalideRuntime.h.
struct halide_profiler_func_stats* halide_profiler_pipeline_stats::funcs |
An array containing states for each Func in this pipeline.
Definition at line 1762 of file HalideRuntime.h.
void* halide_profiler_pipeline_stats::next |
The next pipeline_stats pointer.
It's a void * because types in the Halide runtime may not currently be recursive.
Definition at line 1766 of file HalideRuntime.h.
int halide_profiler_pipeline_stats::num_funcs |
The number of funcs in this pipeline.
Definition at line 1769 of file HalideRuntime.h.
int halide_profiler_pipeline_stats::first_func_id |
An internal base id used to identify the funcs in this pipeline.
Definition at line 1772 of file HalideRuntime.h.
int halide_profiler_pipeline_stats::runs |
The number of times this pipeline has been run.
Definition at line 1775 of file HalideRuntime.h.
int halide_profiler_pipeline_stats::samples |
The total number of samples taken inside of this pipeline.
Definition at line 1778 of file HalideRuntime.h.
int halide_profiler_pipeline_stats::num_allocs |
The total number of memory allocation of funcs in this pipeline.
Definition at line 1781 of file HalideRuntime.h.