org.rococoa.cocoa.carboncore
Class MPTaskInfo

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<MPTaskInfo,MPTaskInfo.ByValue,MPTaskInfo.ByReference>
          extended by org.rococoa.cocoa.carboncore.MPTaskInfo
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<MPTaskInfo,MPTaskInfo.ByValue,MPTaskInfo.ByReference>>
Direct Known Subclasses:
MPTaskInfo.ByReference, MPTaskInfo.ByValue

public class MPTaskInfo
extends Structure<MPTaskInfo,MPTaskInfo.ByValue,MPTaskInfo.ByReference>

native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:1424
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class MPTaskInfo.ByReference
           
static class MPTaskInfo.ByValue
           
 
Field Summary
 CarbonCoreLibrary.OpaqueMPOpaqueID blockedObject
          ID of blocked object.
 NativeLong codePageFaults
          Page faults from code execution
C type : ItemCount
 CarbonCoreLibrary.OpaqueMPCpuID cpuID
          ID of CPU where task previously ran.
 UnsignedWide cpuTime
          Accumulated task time
C type : AbsoluteTime
 UnsignedWide creationTime
          Time when task created
C type : AbsoluteTime
 NativeLong dataPageFaults
          Page faults from data access
C type : ItemCount
 short lastCPU
           
 int name
          Task name
C type : OSType
 NativeLong preemptions
          Number of times task was preempted
C type : ItemCount
 CarbonCoreLibrary.OpaqueMPProcessID processID
          Owning process ID
C type : MPProcessID
 int queueName
          Task's queue owner name
C type : OSType
 short runState
           
 UnsignedWide schedTime
          Time when last scheduled
C type : AbsoluteTime
 CarbonCoreLibrary.OpaqueMPAddressSpaceID spaceID
          Address space ID of this task.
 Pointer stackBase
          Base of stack (lowest address).
 Pointer stackCurr
          Current stack address.
 Pointer stackLimit
          Stack limit (highest address).
 int version
          Version 3 of the data structure requested
C type : PBVersion
 int weight
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
MPTaskInfo()
           
 
Method Summary
static MPTaskInfo[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

version

public int version
Version 3 of the data structure requested
C type : PBVersion


name

public int name
Task name
C type : OSType


queueName

public int queueName
Task's queue owner name
C type : OSType


runState

public short runState

lastCPU

public short lastCPU

weight

public int weight

processID

public CarbonCoreLibrary.OpaqueMPProcessID processID
Owning process ID
C type : MPProcessID


cpuTime

public UnsignedWide cpuTime
Accumulated task time
C type : AbsoluteTime


schedTime

public UnsignedWide schedTime
Time when last scheduled
C type : AbsoluteTime


creationTime

public UnsignedWide creationTime
Time when task created
C type : AbsoluteTime


codePageFaults

public NativeLong codePageFaults
Page faults from code execution
C type : ItemCount


dataPageFaults

public NativeLong dataPageFaults
Page faults from data access
C type : ItemCount


preemptions

public NativeLong preemptions
Number of times task was preempted
C type : ItemCount


cpuID

public CarbonCoreLibrary.OpaqueMPCpuID cpuID
ID of CPU where task previously ran.
C type : MPCpuID


blockedObject

public CarbonCoreLibrary.OpaqueMPOpaqueID blockedObject
ID of blocked object.
C type : MPOpaqueID


spaceID

public CarbonCoreLibrary.OpaqueMPAddressSpaceID spaceID
Address space ID of this task.
C type : MPAddressSpaceID


stackBase

public Pointer stackBase
Base of stack (lowest address).
C type : LogicalAddress


stackLimit

public Pointer stackLimit
Stack limit (highest address).
C type : LogicalAddress


stackCurr

public Pointer stackCurr
Current stack address.
C type : LogicalAddress

Constructor Detail

MPTaskInfo

public MPTaskInfo()
Method Detail

newArray

public static MPTaskInfo[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.