libguac  0.9.13-incubating
Functions
timestamp.h File Reference

Provides functions and structures for creating timestamps. More...

Go to the source code of this file.

Functions

guac_timestamp guac_timestamp_current ()
 Returns an arbitrary timestamp. More...
 
void guac_timestamp_msleep (int duration)
 Sleeps for the given number of milliseconds. More...
 

Detailed Description

Provides functions and structures for creating timestamps.

Function Documentation

guac_timestamp guac_timestamp_current ( )

Returns an arbitrary timestamp.

The difference between return values of any two calls is equal to the amount of time in milliseconds between those calls. The return value from a single call will not have any useful (or defined) meaning.

Returns
An arbitrary millisecond timestamp.
void guac_timestamp_msleep ( int  duration)

Sleeps for the given number of milliseconds.

Parameters
durationThe number of milliseconds to sleep.