guacamole/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.
void guac_timestamp_msleep (int duration)
 Sleeps for the given number of milliseconds.

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:
duration The number of milliseconds to sleep.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 12 Jan 2021 for libguac by  doxygen 1.6.1