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 Summary
FieldsModifier and TypeFieldDescriptionprivate Fileprivate Fileprivate intstatic final BitmotecSystemMetricsFields inherited from interface de.iip_ecosphere.platform.support.metrics.SystemMetrics
INVALID_CELSIUS_TEMPERATURE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.metrics.SystemMetrics
getNumCpuCores, getOsArch, getOsName
-
Field Details
-
INSTANCE
-
cpuTempFile
-
boardTempFile
-
gpuCores
private int gpuCores
-
-
Constructor Details
-
BitmotecSystemMetrics
protected BitmotecSystemMetrics()Prevents external creation.
-
-
Method Details
-
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
-