org.rococoa.cocoa.carboncore
Class MPTaskInfoVersion2

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

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

native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:1401
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 MPTaskInfoVersion2.ByReference
           
static class MPTaskInfoVersion2.ByValue
           
 
Field Summary
 NativeLong codePageFaults
          Page faults from code execution
C type : ItemCount
 CarbonCoreLibrary.OpaqueMPCpuID cpuID
          ID of CPU where task previously ran
C type : MPCpuID
 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
 int version
          Version 2 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
MPTaskInfoVersion2()
           
 
Method Summary
static MPTaskInfoVersion2[] 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 2 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

Constructor Detail

MPTaskInfoVersion2

public MPTaskInfoVersion2()
Method Detail

newArray

public static MPTaskInfoVersion2[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.