Barrelfish
Functions | Variables
systime.c File Reference

Systime. More...

Functions

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...
 

Variables

systime_t systime_frequency = 1
 Number of system ticks per one millisecond. More...
 

Detailed Description

Systime.

Function Documentation

systime_t ns_to_systime ( uint64_t  nanoseconds)

Convert nanoseconds to system ticks.

Convert nanoseconds to a system time ticks

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 = 1

Number of system ticks per one millisecond.

Frequency of the system time ticks (systime)