PatchworkOS
Loading...
Searching...
No Matches
statistics.h File Reference
#include <kernel/cpu/interrupt.h>
#include <kernel/sync/lock.h>
#include <time.h>

Go to the source code of this file.

Data Structures

struct  statistics_cpu_ctx_t
 Per-CPU statistics context. More...
 

Typedefs

typedef struct cpu cpu_t
 

Functions

void statistics_cpu_ctx_init (statistics_cpu_ctx_t *ctx)
 Initializes a per-CPU statistics context.
 
void statistics_init (void)
 Initializes the statistics driver.
 
void statistics_interrupt_begin (interrupt_frame_t *frame, cpu_t *self)
 Called at the beginning of an interrupt.
 
void statistics_interrupt_end (interrupt_frame_t *frame, cpu_t *self)
 Called at the end of an interrupt.
 

Typedef Documentation

◆ cpu_t

typedef struct cpu cpu_t

Definition at line 8 of file statistics.h.