blob: 28ea0f57a6c773f02d456256a1a72557946b8f6b [file] [log] [blame]
CREATE TABLE perfetto_tables(name STRING);
CREATE TABLE trace_bounds AS
SELECT 0 AS start_ts, 0 AS end_ts;
CREATE TABLE power_profile(
device STRING,
cpu INT,
cluster INT,
freq INT,
power DOUBLE,
UNIQUE(device, cpu, cluster, freq)
);
CREATE TABLE trace_metrics(name STRING);
CREATE TABLE debug_slices(
id BIGINT,
name STRING,
ts BIGINT,
dur BIGINT,
depth BIGINT
);
CREATE VIRTUAL TABLE window USING window();