/build/soong/ui/metrics/ |
D | metrics.go | 15 package metrics package 38 metrics soong_metrics_proto.MetricsBase member 42 func New() (metrics *Metrics) { 44 metrics: soong_metrics_proto.MetricsBase{}, 53 m.metrics.KatiRuns = append(m.metrics.KatiRuns, &perf) 56 m.metrics.SoongRuns = append(m.metrics.SoongRuns, &perf) 59 m.metrics.NinjaRuns = append(m.metrics.NinjaRuns, &perf) 62 m.metrics.Total = &perf 72 m.metrics.BuildId = proto.String(v) 75 m.metrics.PlatformVersionCodename = proto.String(v) [all …]
|
D | Android.bp | 16 name: "soong-ui-metrics", 17 pkgPath: "android/soong/ui/metrics", 25 "metrics.go", 35 pkgPath: "android/soong/ui/metrics/metrics_proto", 38 "metrics_proto/metrics.pb.go", 44 pkgPath: "android/soong/ui/metrics/upload_proto",
|
D | time_test.go | 15 package metrics package
|
D | time.go | 15 package metrics package
|
/build/soong/android/ |
D | metrics.go | 46 metrics := SoongMetrics{} 49 metrics.Modules++ 51 metrics.Variants++ 54 return metrics 59 metrics := &soong_metrics_proto.SoongBuildMetrics{} 62 metrics.Modules = proto.Uint32(uint32(soongMetrics.Modules)) 63 metrics.Variants = proto.Uint32(uint32(soongMetrics.Variants)) 67 metrics.MaxHeapSize = proto.Uint64(memStats.HeapSys) 68 metrics.TotalAllocCount = proto.Uint64(memStats.Mallocs) 69 metrics.TotalAllocSize = proto.Uint64(memStats.TotalAlloc) [all …]
|
D | Android.bp | 29 "metrics.go",
|
/build/soong/ui/build/ |
D | soong.go | 34 ctx.BeginTrace(metrics.RunSoong, "soong") 38 ctx.BeginTrace(metrics.RunSoong, "blueprint bootstrap") 56 ctx.BeginTrace(metrics.RunSoong, "environment check") 92 ctx.BeginTrace(metrics.RunSoong, "minibp") 102 ctx.BeginTrace(metrics.RunSoong, "bpglob") 112 ctx.BeginTrace(metrics.RunSoong, name) 168 func logSoongBuildMetrics(ctx Context, metrics *soong_metrics_proto.SoongBuildMetrics) { 170 ctx.Verbosef(" modules: %v", metrics.GetModules()) 171 ctx.Verbosef(" variants: %v", metrics.GetVariants()) 172 ctx.Verbosef(" max heap size: %v MB", metrics.GetMaxHeapSize()/1e6) [all …]
|
D | rbe.go | 61 ctx.BeginTrace(metrics.RunSetupTool, "rbe_bootstrap") 90 ctx.BeginTrace(metrics.RunShutdownTool, "dump_rbe_metrics")
|
D | kati.go | 132 ctx.BeginTrace(metrics.RunKati, "kati build") 220 ctx.BeginTrace(metrics.RunKati, "kati package") 261 ctx.BeginTrace(metrics.RunKati, "kati cleanspec")
|
D | path.go | 65 ctx.BeginTrace(metrics.RunSetupTool, "litepath") 111 ctx.BeginTrace(metrics.RunSetupTool, "path")
|
D | context.go | 36 Metrics *metrics.Metrics
|
D | goma.go | 55 ctx.BeginTrace(metrics.RunSetupTool, "goma_ctl")
|
D | upload.go | 48 ctx.BeginTrace(metrics.RunSetupTool, "upload_metrics")
|
D | test_build.go | 41 ctx.BeginTrace(metrics.TestRun, "test for dangling rules")
|
D | Android.bp | 33 "soong-ui-metrics",
|
D | finder.go | 36 ctx.BeginTrace(metrics.RunSetupTool, "find modules")
|
D | ninja.go | 31 ctx.BeginTrace(metrics.PrimaryNinja, "ninja")
|
D | dumpvars.go | 84 ctx.BeginTrace(metrics.RunKati, "dumpvars")
|
D | cleanbuild.go | 175 ctx.BeginTrace(metrics.PrimaryNinja, "installclean")
|
D | build.go | 165 ctx.BeginTrace(metrics.Total, "total")
|
/build/soong/cuj/ |
D | cuj.go | 44 metrics *metrics.Metrics member 61 met := metrics.New() 105 … buildCtx.CompleteTrace(metrics.RunSetupTool, "startup", start_time, uint64(time.Now().UnixNano())) 120 t.results.metrics = met 215 cujMetrics := metrics.NewCriticalUserJourneysMetrics() 232 if t.results.metrics != nil { 233 cujMetrics.Add(t.name, t.results.metrics)
|
/build/soong/ui/metrics/metrics_proto/ |
D | metrics.proto | 81 // The metrics for calling various tools (microfactory) before Soong_UI starts. 84 // The metrics for calling Kati by multiple times. 87 // The metrics for calling Soong. 90 // The metrics for calling Ninja. 93 // The metrics for the whole build 138 // The metrics produced when running the critical user journey test. 139 optional MetricsBase metrics = 2; field 143 // A set of metrics from a run of the critical user journey tests.
|
D | regen.sh | 3 aprotoc --go_out=paths=source_relative:. metrics.proto
|
/build/soong/ui/metrics/upload_proto/ |
D | upload.proto | 33 // A list of metrics filepaths to upload. 36 // A list of directories to delete after the copy of metrics files
|
/build/soong/cmd/soong_ui/ |
D | main.go | 140 met := metrics.New() 198 … buildCtx.CompleteTrace(metrics.RunSetupTool, "startup", start_time, uint64(time.Now().UnixNano()))
|