Class PowrProf.ProcessorPowerInformation

java.lang.Object
com.sun.jna.Structure
oshi.jna.platform.windows.PowrProf.ProcessorPowerInformation
Enclosing interface:
PowrProf

@FieldOrder({"number","maxMhz","currentMhz","mhzLimit","maxIdleState","currentIdleState"})
public static class PowrProf.ProcessorPowerInformation
extends com.sun.jna.Structure
Contains information about a processor.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type Field Description
    int currentIdleState  
    int currentMhz  
    int maxIdleState  
    int maxMhz  
    int mhzLimit  
    int number  

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor Description
    ProcessorPowerInformation()  
    ProcessorPowerInformation​(com.sun.jna.Pointer p)  
  • Method Summary

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • number

      public int number
    • maxMhz

      public int maxMhz
    • currentMhz

      public int currentMhz
    • mhzLimit

      public int mhzLimit
    • maxIdleState

      public int maxIdleState
    • currentIdleState

      public int currentIdleState
  • Constructor Details

    • ProcessorPowerInformation

      public ProcessorPowerInformation​(com.sun.jna.Pointer p)
    • ProcessorPowerInformation

      public ProcessorPowerInformation()