Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 25 of 27) sorted by relevance

12

/build/soong/ui/metrics/
Dmetrics.go15 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 …]
DAndroid.bp16 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",
Dtime_test.go15 package metrics package
Dtime.go15 package metrics package
/build/soong/android/
Dmetrics.go46 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 …]
DAndroid.bp29 "metrics.go",
/build/soong/ui/build/
Dsoong.go34 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 …]
Drbe.go61 ctx.BeginTrace(metrics.RunSetupTool, "rbe_bootstrap")
90 ctx.BeginTrace(metrics.RunShutdownTool, "dump_rbe_metrics")
Dkati.go132 ctx.BeginTrace(metrics.RunKati, "kati build")
220 ctx.BeginTrace(metrics.RunKati, "kati package")
261 ctx.BeginTrace(metrics.RunKati, "kati cleanspec")
Dpath.go65 ctx.BeginTrace(metrics.RunSetupTool, "litepath")
111 ctx.BeginTrace(metrics.RunSetupTool, "path")
Dcontext.go36 Metrics *metrics.Metrics
Dgoma.go55 ctx.BeginTrace(metrics.RunSetupTool, "goma_ctl")
Dupload.go48 ctx.BeginTrace(metrics.RunSetupTool, "upload_metrics")
Dtest_build.go41 ctx.BeginTrace(metrics.TestRun, "test for dangling rules")
DAndroid.bp33 "soong-ui-metrics",
Dfinder.go36 ctx.BeginTrace(metrics.RunSetupTool, "find modules")
Dninja.go31 ctx.BeginTrace(metrics.PrimaryNinja, "ninja")
Ddumpvars.go84 ctx.BeginTrace(metrics.RunKati, "dumpvars")
Dcleanbuild.go175 ctx.BeginTrace(metrics.PrimaryNinja, "installclean")
Dbuild.go165 ctx.BeginTrace(metrics.Total, "total")
/build/soong/cuj/
Dcuj.go44 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/
Dmetrics.proto81 // 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.
Dregen.sh3 aprotoc --go_out=paths=source_relative:. metrics.proto
/build/soong/ui/metrics/upload_proto/
Dupload.proto33 // 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/
Dmain.go140 met := metrics.New()
198 … buildCtx.CompleteTrace(metrics.RunSetupTool, "startup", start_time, uint64(time.Now().UnixNano()))

12