java.lang.Object
io.nosqlbench.engine.api.activityapi.sysperf.SysPerf

public class SysPerf
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static org.apache.logging.log4j.Logger logger  
  • Method Summary

    Modifier and Type Method Description
    static SysPerf get()  
    java.util.Optional<java.nio.file.attribute.FileTime> getCacheFileTime()  
    SysPerfData getPerfData​(boolean forceRun)
    WARNING: If you are trying to debug this, JMH will not cooperate by default.
    SysPerfData load()  
    void reset()  
    void save​(boolean forceSave)  

    Methods inherited from class java.lang.Object

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

    • logger

      public static final org.apache.logging.log4j.Logger logger
  • Method Details

    • get

      public static SysPerf get()
    • getPerfData

      public SysPerfData getPerfData​(boolean forceRun)
      WARNING: If you are trying to debug this, JMH will not cooperate by default.
      Parameters:
      forceRun - Force the benchmarks to run
      Returns:
      a SysPerfData performance data summary
    • reset

      public void reset()
    • getCacheFileTime

      public java.util.Optional<java.nio.file.attribute.FileTime> getCacheFileTime()
    • load

      public SysPerfData load()
    • save

      public void save​(boolean forceSave)