Package testhelper

Class PerformanceUtils

java.lang.Object
testhelper.PerformanceUtils

public class PerformanceUtils extends Object
  • Constructor Details

    • PerformanceUtils

      public PerformanceUtils()
  • Method Details

    • canMeasureAllocatedMemory

      public static boolean canMeasureAllocatedMemory()
    • measureAllocatedMemory

      public static long measureAllocatedMemory()
      Returns:
      amount of memory (in bytes) allocated by current thread until now