Package testhelper
Class PerformanceUtils
java.lang.Object
testhelper.PerformanceUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static long
-
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
-