...
OSStatTaskCPUUsageInit()
determines the maximum value that a 32-bit counter can reach when no other task is executing. This function must be called when only one task is created in the application and when multitasking has started. This function must be called from the first and only task created by the application.
Arguments
p_err
is a pointer to a variable used to hold an error code:
...
Always returns this value.
Returned Value
None
Notes/Warnings
None