Skip to content

Instantly share code, notes, and snippets.

@lamcw
Created March 6, 2024 03:37
Show Gist options
  • Save lamcw/92bdf1759f6480bb8a8bf00829c20cbd to your computer and use it in GitHub Desktop.
Save lamcw/92bdf1759f6480bb8a8bf00829c20cbd to your computer and use it in GitHub Desktop.
EngFlow profile SQL queries
INCLUDE PERFETTO MODULE experimental.slices;
WITH arg_sets_0 AS (
SELECT DISTINCT arg_set_id
FROM args
WHERE key = 'args.action_pool'
AND display_value = 'default'
)
SELECT
SUM(dur) / 1000000000
FROM experimental_slice_with_thread_and_process_info
JOIN arg_sets_0 ON arg_sets_0.arg_set_id = experimental_slice_with_thread_and_process_info.arg_set_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment