Browse Source

Add docstrings for CriticalPathInfo

Bug: 271526845
Test: n/a
Change-Id: I7ec5a9f7b39fd7441f1aac6556a77046a8210ae8
Jeongik Cha 1 year ago
parent
commit
cf833776a4
2 changed files with 4 additions and 0 deletions
  1. 2 0
      ui/metrics/metrics_proto/metrics.pb.go
  2. 2 0
      ui/metrics/metrics_proto/metrics.proto

+ 2 - 0
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

+ 2 - 0
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;