15
clock ()
Description:
Returns an approximation of processor time used by the program. This function
call the ANSI-C function clock() in the C standard library. The time is returned
as the number of processor clocks. To convert to seconds use the value returned
by clockspersec(). The value is not guaranteed to start a 0 at boot-up or reset
therefore you should call clock() to get a starting value and use the difference to
get time elapsed.
Parameters:
None
Return:
clocks
Integer value of the number of processor clocks
clockspersec ()
Description:
Returns the number of processor clock in one second. This value can be used to
convert the result of clock() into seconds. The function returns the ANSI-C value
CLOCKS_PER_SEC.
Parameters:
None
Return:
clockspersec Integer value of the number of processor clocks per second
emclose ()
Description:
This function must be called before exiting any script that loads the EM405-8
Extensions. It closes and frees resources that were allocated during library load.
Parameters:
None
Return:
None
emfans (full_on)
Description:
Controls the speed of the EM405-8 fans. The fans can be full-on or variable
Parameters:
full_on
Integer with 1 = fan set to full-on and 0 = fan set to variable
Return:
None