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 java.lang.Object implements de.iip_ecosphere.platform.support.metrics.SystemMetricsSystem metrics implementation for Bitmotec.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FileboardTempFileprivate java.io.FilecpuTempFileprivate intgpuCoresstatic BitmotecSystemMetricsINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedBitmotecSystemMetrics()Prevents external creation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()floatgetCaseTemperature()floatgetCpuTemperature()intgetNumGpuCores()intgetNumTpuCores()
-
-
-
Field Detail
-
INSTANCE
public static final BitmotecSystemMetrics INSTANCE
-
cpuTempFile
private java.io.File cpuTempFile
-
boardTempFile
private java.io.File boardTempFile
-
gpuCores
private int gpuCores
-
-
Method Detail
-
getCaseTemperature
public float getCaseTemperature()
- Specified by:
getCaseTemperaturein interfacede.iip_ecosphere.platform.support.metrics.SystemMetrics
-
getCpuTemperature
public float getCpuTemperature()
- Specified by:
getCpuTemperaturein interfacede.iip_ecosphere.platform.support.metrics.SystemMetrics
-
getNumGpuCores
public int getNumGpuCores()
- Specified by:
getNumGpuCoresin interfacede.iip_ecosphere.platform.support.metrics.SystemMetrics
-
getNumTpuCores
public int getNumTpuCores()
- Specified by:
getNumTpuCoresin interfacede.iip_ecosphere.platform.support.metrics.SystemMetrics
-
close
public void close()
- Specified by:
closein interfacede.iip_ecosphere.platform.support.metrics.SystemMetrics
-
-