1 #ifndef _IPXE_PROFILE_H 2 #define _IPXE_PROFILE_H 54 #define PROFILERS __table ( struct profiler, "profilers" ) 58 #define __profiler __table_entry ( PROFILERS, 01 ) 112 static inline __attribute__ (( always_inline ))
unsigned long unsigned long profile_variance(struct profiler *profiler)
Get sample variance.
unsigned long long accvar
Accumulated variance (scaled)
static unsigned long profile_started(struct profiler *profiler)
Get start time.
static void profile_custom(struct profiler *profiler, unsigned long sample)
Record profiling sample in custom units.
A data structure for storing profiling information.
static void profile_stop(struct profiler *profiler)
Stop profiling.
static __attribute__((always_inline)) unsigned long profile_timestamp(void)
Get profiling timestamp.
static void profile_stop_at(struct profiler *profiler, unsigned long stopped)
Stop profiling.
static int started
"startup() has been called" flag
unsigned int mean_msb
Mean sample value MSB.
unsigned int count
Number of samples.
static unsigned long profile_elapsed(struct profiler *profiler)
Get elapsed time.
static void profile_start(struct profiler *profiler)
Start profiling.
unsigned long profile_excluded
Accumulated time excluded from profiling.
static void profile_start_at(struct profiler *profiler, unsigned long started)
Start profiling.
static unsigned long profile_stopped(struct profiler *profiler)
Get stop time.
unsigned long profile_timestamp(void)
unsigned int accvar_msb
Accumulated variance MSB.
static void profile_exclude(struct profiler *profiler)
Exclude time from other ongoing profiling results.
unsigned long mean
Mean sample value (scaled)
unsigned long profile_stddev(struct profiler *profiler)
Get sample standard deviation.
unsigned long profile_mean(struct profiler *profiler)
Get mean sample value.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned long started
Start timestamp.
void profile_update(struct profiler *profiler, unsigned long sample)
Update profiler with a new sample.
unsigned long stopped
Stop timestamp.