com.jniwrapper.win32.process
Class ProcessMemoryCounters

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

public class ProcessMemoryCounters
extends com.jniwrapper.Structure

This class is a wrapper for PROCESS_MEMORY_COUNTERS native structure and contains various memory statistics.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
ProcessMemoryCounters()
           
ProcessMemoryCounters(ProcessMemoryCounters that)
           
 
Method Summary
 java.lang.Object clone()
           
 long getPageFaultCount()
          Returns a number of page faults.
 long getPagefileUsage()
          Returns current space allocated for the pagefile.
 long getPeakPagefileUsage()
          Returns peak space allocated for the pagefile.
 long getPeakWorkingSetSize()
          Returns peak working set size.
 long getQuotaNonPagedPoolUsage()
          Returns current nonpaged pool usage.
 long getQuotaPagedPoolUsage()
          Returns current paged pool usage.
 long getQuotaPeakNonPagedPoolUsage()
          Returns peak nonpaged pool usage.
 long getQuotaPeakPagedPoolUsage()
          Returns peak paged pool usage.
 long getWorkingSetSize()
          Returns current working set size.
 
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

ProcessMemoryCounters

public ProcessMemoryCounters()

ProcessMemoryCounters

public ProcessMemoryCounters(ProcessMemoryCounters that)
Method Detail

getPageFaultCount

public long getPageFaultCount()
Returns a number of page faults.

Returns:
a number of page faults.

getPeakWorkingSetSize

public long getPeakWorkingSetSize()
Returns peak working set size.

Returns:
peak working set size.

getWorkingSetSize

public long getWorkingSetSize()
Returns current working set size.

Returns:
Current working set size.

getQuotaPeakPagedPoolUsage

public long getQuotaPeakPagedPoolUsage()
Returns peak paged pool usage.

Returns:
peak paged pool usage.

getQuotaPagedPoolUsage

public long getQuotaPagedPoolUsage()
Returns current paged pool usage.

Returns:
current paged pool usage.

getQuotaPeakNonPagedPoolUsage

public long getQuotaPeakNonPagedPoolUsage()
Returns peak nonpaged pool usage.

Returns:
peak nonpaged pool usage.

getQuotaNonPagedPoolUsage

public long getQuotaNonPagedPoolUsage()
Returns current nonpaged pool usage.

Returns:
current nonpaged pool usage.

getPagefileUsage

public long getPagefileUsage()
Returns current space allocated for the pagefile.

Returns:
current space allocated for the pagefile.

getPeakPagefileUsage

public long getPeakPagefileUsage()
Returns peak space allocated for the pagefile.

Returns:
peak space allocated for the pagefile.

clone

public java.lang.Object clone()