|
Halide 14.0.0
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 1752 of file HalideRuntime.h.
| uint64_t halide_profiler_pipeline_stats::time |
Total time spent inside this pipeline (in nanoseconds)
Definition at line 1754 of file HalideRuntime.h.
| uint64_t halide_profiler_pipeline_stats::memory_current |
The current memory allocation of funcs in this pipeline.
Definition at line 1757 of file HalideRuntime.h.
| uint64_t halide_profiler_pipeline_stats::memory_peak |
The peak memory allocation of funcs in this pipeline.
Definition at line 1760 of file HalideRuntime.h.
| uint64_t halide_profiler_pipeline_stats::memory_total |
The total memory allocation of funcs in this pipeline.
Definition at line 1763 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 1767 of file HalideRuntime.h.
| uint64_t halide_profiler_pipeline_stats::active_threads_denominator |
Definition at line 1767 of file HalideRuntime.h.
| const char* halide_profiler_pipeline_stats::name |
The name of this pipeline.
A global constant string.
Definition at line 1770 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 1773 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 1777 of file HalideRuntime.h.
| int halide_profiler_pipeline_stats::num_funcs |
The number of funcs in this pipeline.
Definition at line 1780 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 1783 of file HalideRuntime.h.
| int halide_profiler_pipeline_stats::runs |
The number of times this pipeline has been run.
Definition at line 1786 of file HalideRuntime.h.
| int halide_profiler_pipeline_stats::samples |
The total number of samples taken inside of this pipeline.
Definition at line 1789 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 1792 of file HalideRuntime.h.