Home
last modified time | relevance | path

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

123

/build/soong/ui/metrics/
Dmetrics.go16 package metrics package
78 metrics soong_metrics_proto.MetricsBase member
88 func New() (metrics *Metrics) {
90 metrics: soong_metrics_proto.MetricsBase{},
114 m.metrics.KatiRuns = append(m.metrics.KatiRuns, &perf)
116 m.metrics.SoongRuns = append(m.metrics.SoongRuns, &perf)
118 m.metrics.BazelRuns = append(m.metrics.BazelRuns, &perf)
120 m.metrics.NinjaRuns = append(m.metrics.NinjaRuns, &perf)
122 m.metrics.SetupTools = append(m.metrics.SetupTools, &perf)
124 m.metrics.Total = &perf
[all …]
DAndroid.bp20 name: "soong-ui-metrics",
21 pkgPath: "android/soong/ui/metrics",
32 "metrics.go",
42 pkgPath: "android/soong/ui/metrics/metrics_proto",
48 "metrics_proto/metrics.pb.go",
54 pkgPath: "android/soong/ui/metrics/upload_proto",
66 pkgPath: "android/soong/ui/metrics/bp2build_metrics_proto",
78 pkgPath: "android/soong/ui/metrics/bazel_metrics_proto",
90 pkgPath: "android/soong/ui/metrics/mk_metrics_proto",
DBUILD.bazel18 name = "metrics-py-proto",
20 deps = [":metrics-proto"],
24 name = "metrics-proto",
28 "metrics_proto/metrics.proto",
/build/soong/android/
Dmetrics.go59 metrics := getSoongMetrics(ctx.Config())
62 metrics.modules++
64 metrics.variants++
68 func collectMetrics(config Config, eventHandler *metrics.EventHandler) *soong_metrics_proto.SoongBu…
69 metrics := &soong_metrics_proto.SoongBuildMetrics{}
73 metrics.Modules = proto.Uint32(uint32(soongMetrics.modules))
74 metrics.Variants = proto.Uint32(uint32(soongMetrics.variants))
78 metrics.PerfCounters = soongMetrics.perfCollector.events
82 metrics.MaxHeapSize = proto.Uint64(memStats.HeapSys)
83 metrics.TotalAllocCount = proto.Uint64(memStats.Mallocs)
[all …]
/build/bazel/scripts/incremental_build/
Dpretty_test.py24 metrics: TextIO
27 self.metrics = io.StringIO(
44 result = summarize_helper(self.metrics, "a$", Aggregation.MAX)
61 result = summarize_helper(self.metrics, "a.$", Aggregation.MEDIAN)
91 result = summarize_helper(self.metrics, "^a", Aggregation.MEDIAN)
DREADME.md8 3. Adding timing-related metrics from step 2 into `out/timing_logs/metrics.csv`
14 Each row in `metrics.csv` has the timings of various "phases" of a build.
DBUILD.bazel99 "//build/soong/ui/metrics:metrics-py-proto",
/build/soong/bazel/
Daquery_test.go141 actualbuildStatements, actualDepsets, _ := AqueryBuildStatements(data, &metrics.EventHandler{})
200 _, _, err = AqueryBuildStatements(data, &metrics.EventHandler{})
235 _, _, err = AqueryBuildStatements(data, &metrics.EventHandler{})
266 _, _, err = AqueryBuildStatements(data, &metrics.EventHandler{})
297 _, _, err = AqueryBuildStatements(data, &metrics.EventHandler{})
328 _, _, err = AqueryBuildStatements(data, &metrics.EventHandler{})
361 actual, _, err := AqueryBuildStatements(data, &metrics.EventHandler{})
413 _, _, err = AqueryBuildStatements(data, &metrics.EventHandler{})
494 actualbuildStatements, actualDepsets, _ := AqueryBuildStatements(data, &metrics.EventHandler{})
550 actual, _, err := AqueryBuildStatements(data, &metrics.EventHandler{})
[all …]
/build/soong/cuj/
Dcuj.go45 metrics *metrics.Metrics member
62 met := metrics.New()
106 … buildCtx.CompleteTrace(metrics.RunSetupTool, "startup", start_time, uint64(time.Now().UnixNano()))
121 t.results.metrics = met
218 cujMetrics := metrics.NewCriticalUserJourneysMetrics()
235 if t.results.metrics != nil {
236 cujMetrics.Add(t.name, t.results.metrics)
/build/soong/bloaty/
Dbloaty_merger.py67 metrics = file_sections_pb2.FileSizeMetrics()
72 metrics.files.append(file_proto)
74 output.write(metrics.SerializeToString())
Dbloaty_merger_test.py60 metrics = file_sections_pb2.FileSizeMetrics()
62 metrics.ParseFromString(output.read())
/build/bazel/ci/
Dmixed_mode_toggle.sh34 --mk-metrics \
61 --mk-metrics \
82 --mk-metrics \
Dmixed_droid.sh17 --mk-metrics \
Densure_allowlist_integrity.sh38 --mk-metrics \
/build/soong/ui/metrics/upload_proto/
Dupload.proto18 option go_package = "android/soong/ui/metrics/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/ui/metrics/metrics_proto/
Dregen.sh15 if ! aprotoc --go_out=paths=source_relative:. metrics.proto; then
Dmetrics.proto18 option go_package = "android/soong/ui/metrics/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
111 // The metrics for calling Bazel.
114 // The metrics of the experiment config fetcher
292 // The metrics produced when running the critical user journey test.
293 optional MetricsBase metrics = 2; field
[all …]
/build/bazel/scripts/bp2build_progress/
DBUILD.bazel20 deps = ["//build/soong/ui/metrics:metrics-py-proto"],
57 "//build/soong/ui/metrics/bp2build_progress_metrics_proto:bp2build_py_proto",
/build/blueprint/metrics/
DAndroid.bp22 name: "blueprint-metrics",
23 pkgPath: "github.com/google/blueprint/metrics",
/build/bazel/scripts/
DBUILD.bazel22 deps = ["//build/soong/ui/metrics:metrics-py-proto"],
/build/soong/ui/metrics/proc/
DAndroid.bp20 name: "soong-ui-metrics-proc",
21 pkgPath: "android/soong/ui/metrics/proc",
/build/soong/ui/logger/
Dlogger.go145 metrics *metrics.Metrics member
157 func NewWithMetrics(out io.Writer, m *metrics.Metrics) *stdLogger {
161 metrics: m,
247 s.metrics.SetFatalOrPanicMessage(str)
/build/bazel/rules/
Dsoong_injection.bzl29 rctx.symlink(soong_injection_dir + "/metrics", "metrics")
/build/soong/ui/metrics/mk_metrics_proto/
Dmk_metrics.proto18 option go_package = "android/soong/ui/metrics/mk_metrics_proto";
20 // Contains metrics pertaining to makefiles.
/build/soong/bp2build/
DAndroid.bp35 "soong-ui-metrics",

123