Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Example