SThreadInfo Struct Reference

Defines thread information for the IMpi::GetThreadInfo API. More...

#include <MpiAPI.h>

List of all members.

Public Attributes

const char * szName
 thread name
const char * szGroupName
 name of the group to which the thread belongs (Java only)
const char * szParentGroupName
 name of the parent group of this thread's group (Java only)
SStackTrace nativeAbsoluteStack
 stack trace of this thread, using native code addresses (.NET only)
SStackTrace vmOffsetStack
 stack trace of this thread, using VM (managed) instructions relative offsets
TTimeStamp uiElapsedNanos
 Elapsed time since thread start, in nanoseconds.
TTimeStamp uiCpuNanos
 CPU time utilized by the thread, in nanoseconds.
EThreadState state
 Thread state (Java only).
TId threadObjectId
 Thread object id (Java only).
TId currentMonitorId
 Monitor the thread is currently waiting for, of 0 if there is none (Java only).
BitSet validData
 Bit-mask of the valid data in the struct.


Detailed Description

Used with IMpi::GetThreadInfo to request thread information. The validData field contains a bit set indicating which of the struct's elements are valid.

Remarks:
- On some virtual machines (such as Java 5.0), thread information is available only after the VM has been fully initialized and the VM Init event has been sent. Requesting thread information before it is available may result in NULL values in some of the fields of SThreadInfo.

The documentation for this struct was generated from the following file:


Generated on Thu Mar 6 15:08:09 2008 for Martini by doxygen 1.5.5