RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Functions
threadgetcputimeused.c File Reference

This source file contains the implementation of _Thread_Get_CPU_time_used() and _Thread_Get_CPU_time_used_locked(). More...

#include <rtems/score/threadimpl.h>
#include <rtems/score/schedulerimpl.h>

Functions

Timestamp_Control _Thread_Get_CPU_time_used_locked (Thread_Control *the_thread)
 Gets the used processor time of the thread throughout its entire lifetime if the caller already acquired the thread state and home scheduler locks.
 
Timestamp_Control _Thread_Get_CPU_time_used (Thread_Control *the_thread)
 Updates the used cpu time for the heir and dispatches a new heir.
 

Detailed Description

This source file contains the implementation of _Thread_Get_CPU_time_used() and _Thread_Get_CPU_time_used_locked().