55#define PROFILERS __table ( struct profiler, "profilers" )
59#define __profiler __table_entry ( PROFILERS, 01 )
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
unsigned long profile_mean(struct profiler *profiler)
Get mean sample value.
static unsigned long profile_elapsed(struct profiler *profiler)
Get elapsed time.
unsigned long profile_variance(struct profiler *profiler)
Get sample variance.
static void profile_stop_at(struct profiler *profiler, unsigned long stopped)
Stop profiling.
static void profile_stop(struct profiler *profiler)
Stop profiling.
static unsigned long profile_started(struct profiler *profiler)
Get start time.
static void profile_start_at(struct profiler *profiler, unsigned long started)
Start profiling.
static void profile_custom(struct profiler *profiler, unsigned long sample)
Record profiling sample in custom units.
static void profile_start(struct profiler *profiler)
Start profiling.
unsigned long profile_stddev(struct profiler *profiler)
Get sample standard deviation.
static void profile_exclude(struct profiler *profiler)
Exclude time from other ongoing profiling results.
unsigned long profile_timestamp(void)
static unsigned long profile_stopped(struct profiler *profiler)
Get stop time.
void profile_update(struct profiler *profiler, unsigned long sample)
Update profiler with a new sample.
static int started
"startup() has been called" flag
unsigned long profile_excluded
Accumulated time excluded from profiling.
A data structure for storing profiling information.
unsigned int count
Number of samples.
unsigned long stopped
Stop timestamp.
unsigned long mean
Mean sample value (scaled)
unsigned long long accvar
Accumulated variance (scaled)
unsigned int mean_msb
Mean sample value MSB.
unsigned long started
Start timestamp.
unsigned int accvar_msb
Accumulated variance MSB.