<< Previous | Next >>

OSStatInit

void OSStatInit(void);

Description

This function is called by an application to establish CPU usage by first determining how high a 32-bit counter would count to in 1 second if no other tasks were to execute during that time. CPU usage is then determined by a low priority task which keeps track of this 32-bit counter every second but this time, with other tasks running. CPU usage is determined by:

Library

UCOS2.LIB


020-0059 Rev. D << Previous | Next >> µC/OS-II