| Package | Description |
|---|---|
| org.eclipse.epsilon.common.util.profiling |
| Modifier and Type | Field and Description |
|---|---|
static ProfileDiagnostic.MemoryUnit |
BenchmarkUtils.DEFAULT_MEMORY_UNITS |
ProfileDiagnostic.MemoryUnit |
ProfileDiagnostic.memoryUnits |
| Modifier and Type | Method and Description |
|---|---|
static ProfileDiagnostic.MemoryUnit |
ProfileDiagnostic.MemoryUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileDiagnostic.MemoryUnit[] |
ProfileDiagnostic.MemoryUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static 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 Type | Method and Description |
|---|---|
static String |
BenchmarkUtils.formatMemory(ProfileDiagnostic pd,
Optional<ProfileDiagnostic.MemoryUnit> conversionFactor) |
| Constructor and Description |
|---|
ProfileDiagnostic(String stage,
Duration execTime,
double memory,
ProfileDiagnostic.MemoryUnit units) |
Copyright © 2020. All rights reserved.