Class MetricsManager

java.lang.Object
org.photonvision.common.hardware.metrics.MetricsManager

public class MetricsManager extends Object
  • Constructor Details

    • MetricsManager

      public MetricsManager()
  • Method Details

    • setConfig

      public void setConfig(HardwareConfig config)
    • safeExecute

      public String safeExecute(String str)
    • getMemory

      public String getMemory()
    • getTemp

      public String getTemp()
    • getUtilization

      public String getUtilization()
    • getUptime

      public String getUptime()
    • getThrottleReason

      public String getThrottleReason()
    • getNpuUsage

      public String getNpuUsage()
    • getGPUMemorySplit

      public String getGPUMemorySplit()
    • getMallocedMemory

      public String getMallocedMemory()
    • getUsedDiskPct

      public String getUsedDiskPct()
    • getUsedRam

      public String getUsedRam()
    • publishMetrics

      public void publishMetrics()
    • execute

      public String execute(String command)