MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
timing.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

 Util
 Contains utility code, not directly related to streaming media.
 

Functions

long long int Util::bootSecs ()
 Gets the current system uptime in seconds. More...
 
long long int Util::epoch ()
 Gets the amount of seconds since 01/01/1970. More...
 
long long unsigned int Util::getMicros ()
 Gets the current time in microseconds. More...
 
long long unsigned int Util::getMicros (long long unsigned int previous)
 Gets the time difference in microseconds. More...
 
long long int Util::getMS ()
 Gets the current time in milliseconds. More...
 
long long int Util::getNTP ()
 
std::string Util::getUTCString (long long int epoch=0)
 
void Util::sleep (int ms)
 Sleeps for roughly the indicated amount of milliseconds. More...
 
void Util::wait (int ms)
 Sleeps for the indicated amount of milliseconds or longer. More...