[Overview][Constants][Types][Procedures and functions][Index] |
Get clock resolution
Source position: linux.pp line 470
function clock_getres( |
clk_id: clockid_t; |
res: ptimespec |
):cint; |
clock_getres returns the resolution of the clock specified in clk_id in the res structure. It can be Nil. if the clock exists and the resolution can be retrieved, 0 is returned.
On Error, -1 is returned. fpgeterrno can be used to get more detailed error information.
|
Get the time of a clock |
|
|
Set the time of a clock |