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