Package org.gradle.profiler.buildops
Class BuildOperationInstrumentation
java.lang.Object
org.gradle.profiler.instrument.GradleInstrumentation
org.gradle.profiler.buildops.BuildOperationInstrumentation
- All Implemented Interfaces:
GradleArgsCalculator
-
Field Summary
Fields inherited from interface org.gradle.profiler.GradleArgsCalculator
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionBuildOperationInstrumentation(boolean measureGarbageCollection, boolean measureLocalBuildCache, boolean measureConfigTime, List<String> measuredBuildOperations) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateInitScriptBody(PrintWriter writer) This is the cumulative total GC time since the process started, not the GC time of the current invocation.booleanMethods inherited from class org.gradle.profiler.instrument.GradleInstrumentation
calculateGradleArgs, unpackPluginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.profiler.GradleArgsCalculator
plus
-
Constructor Details
-
BuildOperationInstrumentation
public BuildOperationInstrumentation(boolean measureGarbageCollection, boolean measureLocalBuildCache, boolean measureConfigTime, List<String> measuredBuildOperations) throws IOException - Throws:
IOException
-
-
Method Details
-
requiresInitScript
public boolean requiresInitScript() -
generateInitScriptBody
- Specified by:
generateInitScriptBodyin classGradleInstrumentation
-
getTotalGarbageCollectionTime
This is the cumulative total GC time since the process started, not the GC time of the current invocation. -
getLocalBuildCacheSize
-
getTimeToTaskExecution
-
getTotalBuildOperationExecutionData
-