From 68942d0a635f46b43718b8a52fff7dbfc85e7839 Mon Sep 17 00:00:00 2001 From: Mika Date: Thu, 22 Jan 2026 11:58:38 +0000 Subject: [PATCH] Add clocksource_switch_analysis/tests/data/sample_trace.json --- .../tests/data/sample_trace.json | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 clocksource_switch_analysis/tests/data/sample_trace.json diff --git a/clocksource_switch_analysis/tests/data/sample_trace.json b/clocksource_switch_analysis/tests/data/sample_trace.json new file mode 100644 index 0000000..cf33efb --- /dev/null +++ b/clocksource_switch_analysis/tests/data/sample_trace.json @@ -0,0 +1,38 @@ +[ + { + "timestamp": 1.001, + "cpu_id": 0, + "seqcount_retry_count": 0, + "clocksource": "tsc" + }, + { + "timestamp": 1.023, + "cpu_id": 1, + "seqcount_retry_count": 1, + "clocksource": "tsc" + }, + { + "timestamp": 1.050, + "cpu_id": 0, + "seqcount_retry_count": 2, + "clocksource": "hpet" + }, + { + "timestamp": 1.075, + "cpu_id": 2, + "seqcount_retry_count": 0, + "clocksource": "tsc" + }, + { + "timestamp": 1.120, + "cpu_id": 3, + "seqcount_retry_count": 0, + "clocksource": "tsc" + }, + { + "timestamp": 1.180, + "cpu_id": 1, + "seqcount_retry_count": 3, + "clocksource": "hpet" + } +] \ No newline at end of file