iPXE
Data Fields
profiler Struct Reference

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

#include <profile.h>

Data Fields

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

Detailed Description

A data structure for storing profiling information.

Definition at line 26 of file profile.h.


Field Documentation

const char* profiler::name

Name.

Definition at line 28 of file profile.h.

Referenced by profstat().

unsigned long profiler::started

Start timestamp.

Definition at line 30 of file profile.h.

unsigned long profiler::stopped

Stop timestamp.

Definition at line 32 of file profile.h.

Referenced by librm_test_exec().

unsigned int profiler::count

Number of samples.

Definition at line 34 of file profile.h.

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

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().

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().

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().

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: