Add trace_agg_tests/tests/data/test_data.json
This commit is contained in:
parent
e1e3a6c462
commit
ec0b133252
1 changed files with 17 additions and 0 deletions
17
trace_agg_tests/tests/data/test_data.json
Normal file
17
trace_agg_tests/tests/data/test_data.json
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"input": [
|
||||||
|
{"event": "clocksource", "value": 10},
|
||||||
|
{"event": "clocksource", "value": 20},
|
||||||
|
{"event": "clocksource_switch", "value": 5},
|
||||||
|
{"event": "other_event", "value": 2},
|
||||||
|
{"event": "clocksource", "value": 12},
|
||||||
|
{"event": "clocksource_switch", "value": 8},
|
||||||
|
{"event": "clocksource", "value": 15},
|
||||||
|
{"event": "clocksource_switch", "value": 6}
|
||||||
|
],
|
||||||
|
"expected_output": {
|
||||||
|
"clocksource": 57,
|
||||||
|
"clocksource_switch": 19,
|
||||||
|
"other_event": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue