Uses of Class
org.eclipse.epsilon.common.util.profiling.ProfileDiagnostic
Packages that use ProfileDiagnostic
Package
Description
-
Uses of ProfileDiagnostic in org.eclipse.epsilon.common.launch
Fields in org.eclipse.epsilon.common.launch with type parameters of type ProfileDiagnosticModifier and TypeFieldDescriptionprotected final Collection<ProfileDiagnostic>ProfilableRunConfiguration.profiledStages -
Uses of ProfileDiagnostic in org.eclipse.epsilon.common.util.profiling
Methods in org.eclipse.epsilon.common.util.profiling that return ProfileDiagnosticModifier and TypeMethodDescriptionstatic ProfileDiagnosticBenchmarkUtils.getProfileStageByName(Collection<ProfileDiagnostic> profileInfo, String stageName) Finds the stage for the given name.static ProfileDiagnosticBenchmarkUtils.removeGCTimeFromStage(Collection<ProfileDiagnostic> profileInfo, String stageName) Performs aRuntime.gc(), takes into account the time taken to do so and subtracts it from the given stage, identified by its name.Methods in org.eclipse.epsilon.common.util.profiling with parameters of type ProfileDiagnosticModifier and TypeMethodDescriptionstatic StringBenchmarkUtils.formatMemory(ProfileDiagnostic pd, Optional<ProfileDiagnostic.MemoryUnit> conversionFactor) Method parameters in org.eclipse.epsilon.common.util.profiling with type arguments of type ProfileDiagnosticModifier and TypeMethodDescriptionstatic voidBenchmarkUtils.addProfileInfo(Collection<ProfileDiagnostic> profileStages, String stage, long nanos, long memory) static StringBenchmarkUtils.formatExecutionStages(Iterable<ProfileDiagnostic> profileInfo) static StringBenchmarkUtils.formatExecutionTimes(Iterable<ProfileDiagnostic> profileInfo) static StringBenchmarkUtils.formatMemoryConsumption(Iterable<ProfileDiagnostic> profileInfo, ProfileDiagnostic.MemoryUnit units) static ProfileDiagnosticBenchmarkUtils.getProfileStageByName(Collection<ProfileDiagnostic> profileInfo, String stageName) Finds the stage for the given name.static DurationBenchmarkUtils.getTotalExecutionTimeFrom(Collection<ProfileDiagnostic> profiledStages) Sums the execution times of the execution stages.static longBenchmarkUtils.measureAndAddGCTime(Collection<ProfileDiagnostic> profileInfo) CallsRuntime.gc(), measuring the time and accumulating it in the provided profiled stages using theBenchmarkUtils.GC_PROFILE_STAGEkey.static voidBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, Runnable code) static <T> voidBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, Consumer<T> code, T argument) static <T,R> R BenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, Function<T, R> code, T argument) static <R> RBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, Supplier<R> code) static <T,E extends Exception>
voidBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, CheckedConsumer<T, E> code, T argument) static <T,R, E extends Exception>
RBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, CheckedFunction<T, R, E> code, T argument) Creates a new ProfileDiagnostic and adds it to the collection of profiled stages, measuring execution time and memory consumption.static <E extends Exception>
voidBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, CheckedRunnable<E> code) static <R,E extends Exception>
RBenchmarkUtils.profileExecutionStage(Collection<ProfileDiagnostic> profileInfo, String description, CheckedSupplier<R, E> code) static ProfileDiagnosticBenchmarkUtils.removeGCTimeFromStage(Collection<ProfileDiagnostic> profileInfo, String stageName) Performs aRuntime.gc(), takes into account the time taken to do so and subtracts it from the given stage, identified by its name. -
Uses of ProfileDiagnostic in org.eclipse.epsilon.eol.launch
Methods in org.eclipse.epsilon.eol.launch that return types with arguments of type ProfileDiagnostic