libkovan  1
The kovan standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Utilties

Functions

EXPORT_SYM void msleep (long msecs)
 
EXPORT_SYM unsigned long systime ()
 
EXPORT_SYM double seconds ()
 

Detailed Description

Function Documentation

EXPORT_SYM void msleep ( long  msecs)

Sleeps for a given number of milliseconds.

Parameters
msecsThe number of milliseconds to sleep.
This function is blocking.
EXPORT_SYM double seconds ( )

Get the current system time in seconds.

Returns
the number of seconds since the UNIX epoch (January 1st, 1970)
EXPORT_SYM unsigned long systime ( )

Get the current system time in milliseconds.

Returns
the number of milliseconds since the UNIX epoch (January 1st, 1970)