Class BitmotecSystemMetrics

java.lang.Object
de.iip_ecosphere.platform.support.metrics.bitmotec.BitmotecSystemMetrics
All Implemented Interfaces:
de.iip_ecosphere.platform.support.metrics.SystemMetrics

public class BitmotecSystemMetrics extends Object implements de.iip_ecosphere.platform.support.metrics.SystemMetrics
System metrics implementation for Bitmotec.
Author:
Holger Eichelberger, SSE
  • Field Details

    • INSTANCE

      public static final BitmotecSystemMetrics INSTANCE
    • cpuTempFile

      private File cpuTempFile
    • boardTempFile

      private File boardTempFile
    • gpuCores

      private int gpuCores
  • Constructor Details

    • BitmotecSystemMetrics

      protected BitmotecSystemMetrics()
      Prevents external creation.
  • Method Details

    • getCaseTemperature

      public float getCaseTemperature()
      Specified by:
      getCaseTemperature in interface de.iip_ecosphere.platform.support.metrics.SystemMetrics
    • getCpuTemperature

      public float getCpuTemperature()
      Specified by:
      getCpuTemperature in interface de.iip_ecosphere.platform.support.metrics.SystemMetrics
    • getNumGpuCores

      public int getNumGpuCores()
      Specified by:
      getNumGpuCores in interface de.iip_ecosphere.platform.support.metrics.SystemMetrics
    • getNumTpuCores

      public int getNumTpuCores()
      Specified by:
      getNumTpuCores in interface de.iip_ecosphere.platform.support.metrics.SystemMetrics
    • close

      public void close()
      Specified by:
      close in interface de.iip_ecosphere.platform.support.metrics.SystemMetrics