Show estimated build end time during build

Ninja delivers estimated total build time and critical path time from
previous ninja log.

Bug: 292304818
Test: check if ETA shows
Change-Id: I014caaa3e8222a53c8822616b2ae31b88a3b0310
This commit is contained in:
Jeongik Cha
2023-11-27 11:00:52 +09:00
parent a4291d572a
commit 3622b3464b
6 changed files with 153 additions and 67 deletions

View File

@@ -31,8 +31,9 @@ import (
const tableHeightEnVar = "SOONG_UI_TABLE_HEIGHT"
type actionTableEntry struct {
action *status.Action
startTime time.Time
action *status.Action
startTime time.Time
estimatedEndTime time.Time
}
type smartStatusOutput struct {