Class CPUsDetailedPercSampler

java.lang.Object
kieker.monitoring.sampler.oshi.samplers.AbstractOshiSampler
kieker.monitoring.sampler.oshi.samplers.CPUsDetailedPercSampler
All Implemented Interfaces:
ISampler

public final class CPUsDetailedPercSampler
extends AbstractOshiSampler
Logs detailed utilization statistics for each CPU in the system, retrieved from CentralProcessor, as CPUUtilizationRecords via IWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord) .
Since:
1.14
Author:
Matteo Sassano
  • Field Summary

    Fields inherited from class kieker.monitoring.sampler.oshi.samplers.AbstractOshiSampler

    hardwareAbstractionLayer
  • Constructor Summary

    Constructors 
    Constructor Description
    CPUsDetailedPercSampler​(oshi.hardware.HardwareAbstractionLayer hardwareAbstractionLayer)
    Constructs a new AbstractOshiSampler with given HardwareAbstractionLayer instance used to retrieve the sensor data.
  • Method Summary

    Modifier and Type Method Description
    void sample​(IMonitoringController monitoringController)
    Triggers this ISampler to perform a measurement and to pass the data to the given IMonitoringController.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CPUsDetailedPercSampler

      public CPUsDetailedPercSampler​(oshi.hardware.HardwareAbstractionLayer hardwareAbstractionLayer)
      Constructs a new AbstractOshiSampler with given HardwareAbstractionLayer instance used to retrieve the sensor data. Users should use the factory method OshiSamplerFactory.createSensorCPUsDetailedPerc() to acquire an instance rather than calling this constructor directly.
      Parameters:
      hardwareAbstractionLayer - The HardwareAbstractionLayer which will be used to retrieve the data.
  • Method Details