summaryrefslogtreecommitdiff
path: root/ui/metrics
diff options
context:
space:
mode:
author Jeongik Cha <jeongik@google.com> 2023-03-15 12:54:14 +0900
committer Jeongik Cha <jeongik@google.com> 2023-03-15 12:54:14 +0900
commitcf833776a47c1c3c350226b56a8ea15ec43ad51e (patch)
tree4cc54448b0ff9a2faf071121029dfa6cf694db3d /ui/metrics
parent4199d4796c4fdc47ab83f3108fdf9c7b23028b72 (diff)
Add docstrings for CriticalPathInfo
Bug: 271526845 Test: n/a Change-Id: I7ec5a9f7b39fd7441f1aac6556a77046a8210ae8
Diffstat (limited to 'ui/metrics')
-rw-r--r--ui/metrics/metrics_proto/metrics.pb.go2
-rw-r--r--ui/metrics/metrics_proto/metrics.proto2
2 files changed, 4 insertions, 0 deletions
diff --git a/ui/metrics/metrics_proto/metrics.pb.go b/ui/metrics/metrics_proto/metrics.pb.go
index 5e144f4b7..6a664dc9a 100644
--- a/ui/metrics/metrics_proto/metrics.pb.go
+++ b/ui/metrics/metrics_proto/metrics.pb.go
@@ -1437,6 +1437,8 @@ func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
return nil
}
+// CriticalPathInfo contains critical path nodes's information.
+// A critical path is a path determining the minimum time needed for the whole build given perfect parallelism.
type CriticalPathInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
diff --git a/ui/metrics/metrics_proto/metrics.proto b/ui/metrics/metrics_proto/metrics.proto
index f7a836e38..d95efa637 100644
--- a/ui/metrics/metrics_proto/metrics.proto
+++ b/ui/metrics/metrics_proto/metrics.proto
@@ -318,6 +318,8 @@ message MixedBuildsInfo{
repeated string mixed_build_disabled_modules = 2;
}
+// CriticalPathInfo contains critical path nodes's information.
+// A critical path is a path determining the minimum time needed for the whole build given perfect parallelism.
message CriticalPathInfo {
// Real time which the build system spent
optional uint64 elapsed_time = 1;