Public Member Functions | |
virtual | ~PStatsCallback () |
Since this class is just an interface definition, there is no need to have a destructor. More... | |
virtual void | activate_hook (Thread *thread) |
Called when the thread is activated (resumes execution). More... | |
virtual void | deactivate_hook (Thread *thread) |
Called when the thread is deactivated (swapped for another running thread). More... | |
|
virtual |
Since this class is just an interface definition, there is no need to have a destructor.
However, we must have one anyway to stop gcc's annoying warning.
Definition at line 238 of file thread.cxx.
|
virtual |
Called when the thread is activated (resumes execution).
This is intended to provide a callback hook for PStats to assign time to individual threads properly, particularly in the SIMPLE_THREADS case.
Definition at line 256 of file thread.cxx.
|
virtual |
Called when the thread is deactivated (swapped for another running thread).
This is intended to provide a callback hook for PStats to assign time to individual threads properly, particularly in the SIMPLE_THREADS case.
Definition at line 247 of file thread.cxx.