Add CPU Usage calls to return the time or ticks accounted for in tasks
Summary
Add two calls to CPU usage in cpukit/libmisc
to return the time in nano-seconds or the time as ticks to the caller.
The EPICS iocStats module has code that directly iterates over the object information. This change provides a simple interface to remove the dependence of the IOC module on the internals of RTEMS. The CPU usage code i libmisc
has all the pieces in place to make this a simple addition.