metrics: Add Wattson atrace apps estimate
Estimate power for any number of arbitrary windows as defined by atrace
apps. For example, the SysUI CUJs define time windows for which power
estimates can be made.
Test: tools/diff_test_trace_processor.py out/linux/trace_processor_shell --name-filter '.*wattson.*'
Bug: 381153639
Change-Id: I1ce7569cb62b5bd16dc8235a0b8bfe0e13143cbe
Signed-off-by: Samuel Wu <wusamuel@google.com>
diff --git a/Android.bp b/Android.bp
index 5a23a79..21f6817 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13216,6 +13216,7 @@
"src/trace_processor/metrics/sql/android/sysui_update_notif_on_ui_mode_changed_metric.sql",
"src/trace_processor/metrics/sql/android/unsymbolized_frames.sql",
"src/trace_processor/metrics/sql/android/wattson_app_startup_rails.sql",
+ "src/trace_processor/metrics/sql/android/wattson_atrace_apps_rails.sql",
"src/trace_processor/metrics/sql/android/wattson_markers_rails.sql",
"src/trace_processor/metrics/sql/android/wattson_markers_threads.sql",
"src/trace_processor/metrics/sql/android/wattson_rail_relations.sql",