iPXE
Data Fields
profiler Struct Reference

A data structure for storing profiling information. More...

#include <profile.h>

Data Fields

const char * name
 Name. More...
 
unsigned long started
 Start timestamp. More...
 
unsigned long stopped
 Stop timestamp. More...
 
unsigned int count
 Number of samples. More...
 
unsigned long mean
 Mean sample value (scaled) More...
 
unsigned int mean_msb
 Mean sample value MSB. More...
 
unsigned long long accvar
 Accumulated variance (scaled) More...
 
unsigned int accvar_msb
 Accumulated variance MSB. More...
 

Detailed Description

A data structure for storing profiling information.

Definition at line 26 of file profile.h.

Field Documentation

◆ name

const char* profiler::name

Name.

Definition at line 28 of file profile.h.

Referenced by profstat().

◆ started

unsigned long profiler::started

Start timestamp.

Definition at line 30 of file profile.h.

Referenced by profile_start_at(), and profile_started().

◆ stopped

unsigned long profiler::stopped

Stop timestamp.

Definition at line 32 of file profile.h.

Referenced by librm_test_exec(), profile_stop_at(), and profile_stopped().

◆ count

unsigned int profiler::count

Number of samples.

Definition at line 34 of file profile.h.

Referenced by profile_update(), profile_variance(), and profstat().

◆ mean

unsigned long profiler::mean

Mean sample value (scaled)

Definition at line 36 of file profile.h.

Referenced by profile_mean(), profile_mean_shift(), profile_okx(), and profile_update().

◆ mean_msb

unsigned int profiler::mean_msb

Mean sample value MSB.

This is the highest bit set in the raw (unscaled) value (i.e. one less than would be returned by flsl(raw_mean)).

Definition at line 42 of file profile.h.

Referenced by profile_mean_shift(), and profile_update().

◆ accvar

unsigned long long profiler::accvar

Accumulated variance (scaled)

Definition at line 44 of file profile.h.

Referenced by profile_accvar_shift(), profile_update(), and profile_variance().

◆ accvar_msb

unsigned int profiler::accvar_msb

Accumulated variance MSB.

This is the highest bit set in the raw (unscaled) value (i.e. one less than would be returned by flsll(raw_accvar)).

Definition at line 50 of file profile.h.

Referenced by profile_accvar_shift(), and profile_update().


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