ArvernOS
Loading...
Searching...
No Matches
clock.h File Reference
#include <stdint.h>
Include dependency graph for clock.h:

Functions

void clock_init ()
 
uint64_t clock_get_current_microseconds ()
 

Detailed Description

The (system) clock is used to manage the system time.

Function Documentation

◆ clock_get_current_microseconds()

uint64_t clock_get_current_microseconds ( )

Returns the current system time in microseconds.

Returns
the current system time in microseconds

◆ clock_init()

void clock_init ( )

Initializes the system clock.