Barrelfish
Functions | Variables
systime.h File Reference

System time. More...

Functions

systime_t systime_now (void)
 
systime_t ns_to_systime (uint64_t nanoseconds)
 Convert nanoseconds to system ticks. More...
 
uint64_t systime_to_ns (systime_t time)
 Convert system ticks to nanoseconds. More...
 
void systime_set_timeout (systime_t timeout)
 

Variables

systime_t systime_frequency
 Frequency of the system time ticks (systime) More...
 

Detailed Description

System time.

Function Documentation

systime_t ns_to_systime ( uint64_t  nanoseconds)

Convert nanoseconds to system ticks.

Convert nanoseconds to a system time ticks

systime_t systime_now ( void  )

Get the current system time from a hardware clock

void systime_set_timeout ( systime_t  timeout)

Set a point at which a timer interrupt should occur if it's in a past, trigger immediately

uint64_t systime_to_ns ( systime_t  time)

Convert system ticks to nanoseconds.

Convert a system time ticks to nanoseconds

Variable Documentation

systime_t systime_frequency

Frequency of the system time ticks (systime)

Frequency of the system time ticks (systime)