ArvernOS
Loading...
Searching...
No Matches
time.h File Reference
#include <stdint.h>
#include <time.h>
Include dependency graph for time.h:
This graph shows which files directly or indirectly include this file:

Functions

void arch_timer_init ()
 
uint64_t arch_timer_uptime_microseconds ()
 
void arch_clock_init ()
 
uint64_t arch_clock_get_current_microseconds ()
 

Detailed Description

Architecture-specific code for time management.

Function Documentation

◆ arch_clock_get_current_microseconds()

uint64_t arch_clock_get_current_microseconds ( )

Returns the current time in microseconds.

◆ arch_clock_init()

void arch_clock_init ( )

Initializes the system clock.

◆ arch_timer_init()

void arch_timer_init ( )

Initializes the system timer.

◆ arch_timer_uptime_microseconds()

uint64_t arch_timer_uptime_microseconds ( )

Returns the number of microseconds since the timer has been initialized.

Returns
the number of microseconds since the timer has been initialized