Halide
halide_profiler_pipeline_stats Struct Reference

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

Detailed Description

Per-pipeline state tracked by the sampling profiler.

These exist in a linked list.

Definition at line 1702 of file HalideRuntime.h.

Member Data Documentation

◆ time

uint64_t halide_profiler_pipeline_stats::time

Total time spent inside this pipeline (in nanoseconds)

Definition at line 1704 of file HalideRuntime.h.

◆ memory_current

uint64_t halide_profiler_pipeline_stats::memory_current

The current memory allocation of funcs in this pipeline.

Definition at line 1707 of file HalideRuntime.h.

◆ memory_peak

uint64_t halide_profiler_pipeline_stats::memory_peak

The peak memory allocation of funcs in this pipeline.

Definition at line 1710 of file HalideRuntime.h.

◆ memory_total

uint64_t halide_profiler_pipeline_stats::memory_total

The total memory allocation of funcs in this pipeline.

Definition at line 1713 of file HalideRuntime.h.

◆ active_threads_numerator

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 1717 of file HalideRuntime.h.

◆ active_threads_denominator

uint64_t halide_profiler_pipeline_stats::active_threads_denominator

Definition at line 1717 of file HalideRuntime.h.

◆ name

const char* halide_profiler_pipeline_stats::name

The name of this pipeline.

A global constant string.

Definition at line 1720 of file HalideRuntime.h.

◆ funcs

struct halide_profiler_func_stats* halide_profiler_pipeline_stats::funcs

An array containing states for each Func in this pipeline.

Definition at line 1723 of file HalideRuntime.h.

◆ next

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 1727 of file HalideRuntime.h.

◆ num_funcs

int halide_profiler_pipeline_stats::num_funcs

The number of funcs in this pipeline.

Definition at line 1730 of file HalideRuntime.h.

◆ first_func_id

int halide_profiler_pipeline_stats::first_func_id

An internal base id used to identify the funcs in this pipeline.

Definition at line 1733 of file HalideRuntime.h.

◆ runs

int halide_profiler_pipeline_stats::runs

The number of times this pipeline has been run.

Definition at line 1736 of file HalideRuntime.h.

◆ samples

int halide_profiler_pipeline_stats::samples

The total number of samples taken inside of this pipeline.

Definition at line 1739 of file HalideRuntime.h.

◆ num_allocs

int halide_profiler_pipeline_stats::num_allocs

The total number of memory allocation of funcs in this pipeline.

Definition at line 1742 of file HalideRuntime.h.


The documentation for this struct was generated from the following file: