diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2017-07-22 01:18:46 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-22 01:18:46 +0000 |
commit | f1a93c225b92dc0059e7d7e2de7c7bd0a493e23d (patch) | |
tree | bf139ee25415cecde142e95791edba3803b2452a /user_activity_benchmarks/select_hot_functions.sql | |
parent | 3690e025de8daaed03c4acb02d2b054e5c4c0dd5 (diff) | |
parent | ddfea1f7e75062a350bd5a9418562e3b5af5b6e9 (diff) | |
download | toolchain-utils-android-p-preview-3.tar.gz |
Merge branch 'aosp/mirror-chromium-master' into update_utils am: 4307f4735e am: 18caef1edd am: 6c551e0d52android-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7
am: ddfea1f7e7
Change-Id: I867402329ff73ee19480446e804bc4c1dfac51e9
Diffstat (limited to 'user_activity_benchmarks/select_hot_functions.sql')
-rw-r--r-- | user_activity_benchmarks/select_hot_functions.sql | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/user_activity_benchmarks/select_hot_functions.sql b/user_activity_benchmarks/select_hot_functions.sql deleted file mode 100644 index d121d619..00000000 --- a/user_activity_benchmarks/select_hot_functions.sql +++ /dev/null @@ -1,27 +0,0 @@ --- Collects the function, with its file, the object and inclusive count value. --- The limits here are entirely arbitrary. --- For more background, look at --- https://sites.google.com/a/google.com/cwp/about/callgraphs. -SELECT - frame.function_name AS function, - frame.filename AS file, - frame.load_module_path AS dso, - sum(frame.inclusive_count) AS inclusive_count -FROM - -- Collect the data stored in CWP over the last 30 days. - FLATTEN(chromeos_wide_profiling.sampledb.cycles.callgraph.last30days, frame) -WHERE - meta.cros.report_id % UINT64("1") == 0 - -- The reports were collected periodically. - AND meta.cros.collection_info.trigger_event == 1 - AND `profile.duration_usec` < 2100000 - -- The reports were from a busy machine. - AND session.total_count > 2000 - -- The reports are from the gnawty board, x86_64 architecture. - AND meta.cros.board == "gnawty" - AND meta.cros.cpu_architecture == "x86_64" - -- The reports include callchain data. - AND left(meta.cros.version, 4) > "6970" - GROUP BY function, dso, file -ORDER BY `inclusive_count` DESC -LIMIT 50000 ; |