td_inf_tsk
Reference Task Statistics
ER ercd = td_inf_tsk ( ID tskid, TD_ITSK *pk_itsk, BOOL clr );
ID tskid Task ID (TSK_SELF can be designated)
TD_ITSK* pk itsk Packet address for returning task statistics
BOOL clr Task statistics clear .ag
ER ercd Error code
pk itsk detail:
RELTIM stime Cumulative system-level run time (ms)
RELTIM utime Cumulative user-level run time (ms)
E_OK Normal completion
E_ID ID number is invalid
E_NOEXS Object does not exist
Gets task statistics. This is similar to tk_inf_tsk. When clr = TRUE (= 0), accumulated information
is reset (cleared to 0) after getting the statistics.

Comments