Package oshi.driver.windows.registry
Class ProcessPerformanceData.PerfCounterBlock
java.lang.Object
oshi.driver.windows.registry.ProcessPerformanceData.PerfCounterBlock
- Enclosing class:
ProcessPerformanceData
Class to encapsulate data from the registry performance counter block
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
private final long
private final String
private final int
private final int
private final int
private final long
private final long
private final long
-
Constructor Summary
ConstructorsConstructorDescriptionPerfCounterBlock
(String name, int parentProcessID, int priority, long residentSetSize, long startTime, long upTime, long bytesRead, long bytesWritten, int pageFaults) -
Method Summary
-
Field Details
-
name
-
parentProcessID
private final int parentProcessID -
priority
private final int priority -
residentSetSize
private final long residentSetSize -
startTime
private final long startTime -
upTime
private final long upTime -
bytesRead
private final long bytesRead -
bytesWritten
private final long bytesWritten -
pageFaults
private final int pageFaults
-
-
Constructor Details
-
PerfCounterBlock
public PerfCounterBlock(String name, int parentProcessID, int priority, long residentSetSize, long startTime, long upTime, long bytesRead, long bytesWritten, int pageFaults)
-
-
Method Details
-
getName
- Returns:
- the name
-
getParentProcessID
public int getParentProcessID()- Returns:
- the parentProcessID
-
getPriority
public int getPriority()- Returns:
- the priority
-
getResidentSetSize
public long getResidentSetSize()- Returns:
- the residentSetSize
-
getStartTime
public long getStartTime()- Returns:
- the startTime
-
getUpTime
public long getUpTime()- Returns:
- the upTime
-
getBytesRead
public long getBytesRead()- Returns:
- the bytesRead
-
getBytesWritten
public long getBytesWritten()- Returns:
- the bytesWritten
-
getPageFaults
public long getPageFaults()- Returns:
- the pageFaults
-