com.jniwrapper.win32.process
Class PerformanceInformation

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.process.PerformanceInformation
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class PerformanceInformation
extends com.jniwrapper.Structure

This class is a wrapper for the PERFORMANCE_INFORMATION native structure and contains performance information.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
PerformanceInformation()
           
PerformanceInformation(PerformanceInformation that)
           
 
Method Summary
 java.lang.Object clone()
           
 long getCommitLimit()
          Returns current maximum number of page commits that can be performed by the system.
 long getCommitPeak()
          Returns maximum number of page commit totals that have occurred since the last reboot.
 long getCommitTotal()
          Returns total number of pages committed by the system.
 long getHandleCount()
          Returns total number of open handles.
 long getKernelNonpaged()
          Returns total amount of the nonpaged kernel pool, in pages.
 long getKernelPaged()
          Returns total amount of the paged kernel pool, in pages.
 long getKernelTotal()
          Returns total amount of the sum of the paged and nonpaged kernel pools, in pages.
 long getPageSize()
          Returns size of a page, in bytes.
 long getPhysicalAvailable()
          Returns amount of physical memory available to user processes, in pages.
 long getPhysicalTotalp()
          Returns total amount of physical memory, in pages.
 long getProcessCount()
          Returns total number of processes.
 long getSystemCache()
          Returns total amount of system cache memory, in pages.
 long getThreadCount()
          Returns total number of threads.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceInformation

public PerformanceInformation()

PerformanceInformation

public PerformanceInformation(PerformanceInformation that)
Method Detail

getCommitTotal

public long getCommitTotal()
Returns total number of pages committed by the system.

Returns:
total number of pages committed by the system.

getCommitLimit

public long getCommitLimit()
Returns current maximum number of page commits that can be performed by the system.

Returns:
current maximum number of page commits that can be performed by the system.

getCommitPeak

public long getCommitPeak()
Returns maximum number of page commit totals that have occurred since the last reboot.

Returns:
maximum number of page commit totals that have occurred since the last reboot.

getPhysicalTotalp

public long getPhysicalTotalp()
Returns total amount of physical memory, in pages.

Returns:
total amount of physical memory, in pages.

getPhysicalAvailable

public long getPhysicalAvailable()
Returns amount of physical memory available to user processes, in pages.

Returns:
amount of physical memory available to user processes, in pages.

getSystemCache

public long getSystemCache()
Returns total amount of system cache memory, in pages.

Returns:
total amount of system cache memory, in pages.

getKernelTotal

public long getKernelTotal()
Returns total amount of the sum of the paged and nonpaged kernel pools, in pages.

Returns:
total amount of the sum of the paged and nonpaged kernel pools, in pages.

getKernelPaged

public long getKernelPaged()
Returns total amount of the paged kernel pool, in pages.

Returns:
total amount of the paged kernel pool, in pages.

getKernelNonpaged

public long getKernelNonpaged()
Returns total amount of the nonpaged kernel pool, in pages.

Returns:
total amount of the nonpaged kernel pool, in pages.

getPageSize

public long getPageSize()
Returns size of a page, in bytes.

Returns:
size of a page, in bytes.

getHandleCount

public long getHandleCount()
Returns total number of open handles.

Returns:
total number of open handles.

getProcessCount

public long getProcessCount()
Returns total number of processes.

Returns:
total number of processes.

getThreadCount

public long getThreadCount()
Returns total number of threads.

Returns:
total number of threads.

clone

public java.lang.Object clone()