Commit 3676f17d authored by Joanne Hugé's avatar Joanne Hugé

Add timestamping measure

parent d4513bf4
......@@ -509,9 +509,9 @@ def parse_args():
measure_set = MeasureSet()
if args.c:
measure_set.import_from_json(args.i[0], cyclictest=True, userInput=True)
measure_set.import_from_json(args.i[0], cyclictest=True, user_input=True)
else:
measure_set.import_from_json(args.i[0], flat=True, userInput=True)
measure_set.import_from_json(args.i[0], flat=True, user_input=True)
ms_handler.add_measure_set(measure_set)
......
......@@ -23,4 +23,17 @@ Emerald | 0.0000us | 112.0000us | 19.5352us | 4.
![alt text](graphs/cyclictest_wake-up_latencywake-up latency.png "cyclictest_wake-up_latency Graph")
### packet_timestamps results
**Common test metadata:** Board name: Slate, Linux kernel version: 4.19, Boot Parameters: isolcpus, Interval: 1000us, ETF qdisc delta: 200us, Task priority: 99, Device and processor load: ssh, Test duration: 1h00, qdisc: pfifo_fast
Min | Max | Avg | Var
----------------------------- | ----------------------------- | ----------------------------- | -----------------------------
**user_space - kernel_space** | **user_space - kernel_space** | **user_space - kernel_space** | **user_space - kernel_space**
0.0000us - 0.0000us | 12.0000us - 222.0000us | 2.0360us - 36.6218us | 0.0493us - 9.1563us
![alt text](graphs/packet_timestampsuser_space.png "packet_timestamps Graph")
![alt text](graphs/packet_timestampskernel_space.png "packet_timestamps Graph")
{"cyclictest_wake-up_latency": {"ids": [25, 26], "next_id": 28}}
\ No newline at end of file
{"cyclictest_wake-up_latency": {"ids": [25, 26], "next_id": 28}, "packet_timestamps": {"ids": [0], "next_id": 1}}
\ No newline at end of file
{"measure_type": "packet_timestamps", "props_names": ["user_space", "kernel_space"], "units": ["us", "us"], "props": [[0, 18942, 4860222, 185325, 1632, 2185, 1254, 189, 20, 8, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 12687, 245420, 1074752, 1569130, 1094702, 550284, 262494, 124735, 61914, 30606, 14059, 6103, 2791, 1629, 1459, 1703, 1811, 1949, 1641, 1452, 985, 694, 406, 251, 156, 110, 90, 79, 62, 60, 60, 30, 29, 29, 20, 25, 24, 25, 29, 24, 21, 27, 33, 27, 32, 15, 27, 19, 25, 21, 24, 27, 23, 32, 35, 46, 28, 30, 29, 32, 28, 42, 33, 43, 51, 60, 78, 80, 83, 94, 110, 115, 155, 166, 177, 193, 202, 190, 154, 184, 156, 152, 138, 137, 126, 120, 104, 102, 100, 92, 87, 95, 82, 63, 63, 55, 59, 56, 60, 50, 74, 53, 70, 53, 45, 31, 23, 15, 25, 13, 17, 6, 7, 2, 5, 1, 2, 2, 6, 2, 2, 2, 0, 3, 4, 2, 1, 1, 0, 0, 1, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2, 0, 1, 1, 0, 0, 0, 2, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0]], "props_type": "histogram", "metadata": {"board": "Slate", "ker": "4.19", "boot_p": "isolcpus", "i": "1000us", "delta": "200us", "prio": "99", "load": "ssh", "duration": "1h00", "qdisc": "pfifo_fast"}}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment