Package testhelper

Class PerformanceUtils


  • public class PerformanceUtils
    extends java.lang.Object
    • Constructor Detail

      • PerformanceUtils

        public PerformanceUtils()
    • Method Detail

      • canMeasureAllocatedMemory

        public static boolean canMeasureAllocatedMemory()
      • measureAllocatedMemory

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