Uses of Enum Class
org.eclipse.epsilon.common.util.profiling.ProfileDiagnostic.MemoryUnit
-
Uses of ProfileDiagnostic.MemoryUnit in org.eclipse.epsilon.common.util.profiling
Modifier and TypeFieldDescriptionstatic final ProfileDiagnostic.MemoryUnit
BenchmarkUtils.DEFAULT_MEMORY_UNITS
ProfileDiagnostic.memoryUnits
Modifier and TypeMethodDescriptionstatic ProfileDiagnostic.MemoryUnit
Returns the enum constant of this class with the specified name.static ProfileDiagnostic.MemoryUnit[]
ProfileDiagnostic.MemoryUnit.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic double
ProfileDiagnostic.MemoryUnit.convertFromBytes
(ProfileDiagnostic.MemoryUnit to, long amount) static double
ProfileDiagnostic.MemoryUnit.convertUnits
(ProfileDiagnostic.MemoryUnit from, ProfileDiagnostic.MemoryUnit to, double amount) static String
BenchmarkUtils.formatMemory
(long amountInBytes, ProfileDiagnostic.MemoryUnit units) static String
BenchmarkUtils.formatMemoryConsumption
(Iterable<ProfileDiagnostic> profileInfo, ProfileDiagnostic.MemoryUnit units) static String
BenchmarkUtils.getAvailableMemory
(ProfileDiagnostic.MemoryUnit units) static String
BenchmarkUtils.getMaxMemory
(ProfileDiagnostic.MemoryUnit units) Modifier and TypeMethodDescriptionstatic String
BenchmarkUtils.formatMemory
(ProfileDiagnostic pd, Optional<ProfileDiagnostic.MemoryUnit> conversionFactor) ModifierConstructorDescriptionProfileDiagnostic
(String stage, Duration execTime, double memory, ProfileDiagnostic.MemoryUnit units)