|rs_time_t||rsTime (rs_time_t *timer)|
|rs_tm *||rsLocaltime (rs_tm *local, const rs_time_t *timer)|
Renderscript time routines.
This file contains Renderscript functions relating to time and date manipulation.
Definition in file rs_time.rsh.
|typedef int rs_time_t|
Returns the time in seconds since this function was last called in this script.
Converts the time specified by
timer into broken-down time and stores it in
local. This function also returns a pointer to
local is NULL, this function does nothing and returns NULL.
|timer||Input time as calendar time.|
Returns the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). If
timer is non-NULL, the result is also stored in the memory pointed to by this variable. If an error occurs, a value of -1 is returned.
|timer||Location to also store the returned calendar time.|
Returns the current system clock (uptime) in milliseconds.
Returns the current system clock (uptime) in nanoseconds.