libkovan  1
The kovan standard library
Utilties

Functions

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

Detailed Description

Function Documentation

VF EXPORT_SYM void msleep ( long  msecs)

Sleeps for a given number of milliseconds.

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

Get the current system time in seconds.

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

Get the current system time in milliseconds.

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