Track the time spent in source and output-tree diff checking.
PiperOrigin-RevId: 233971847
diff --git a/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java b/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java
index 2445087..40b8887 100644
--- a/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java
+++ b/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java
@@ -368,13 +368,7 @@
// Handlers process these events and others (e.g. CommandCompleteEvent), even in the event of
// a catastrophic failure. Posting these is consistent with other behavior.
- env.getEventBus()
- .post(
- new ExecutionFinishedEvent(
- ImmutableMap.of(),
- 0L,
- skyframeExecutor.getOutputDirtyFilesAndClear(),
- skyframeExecutor.getModifiedFilesDuringPreviousBuildAndClear()));
+ env.getEventBus().post(skyframeExecutor.createExecutionFinishedEvent());
env.getEventBus()
.post(new ExecutionPhaseCompleteEvent(timer.stop().elapsed(TimeUnit.MILLISECONDS)));