Performance Report Module
- class mtf.test_utilities.performance_report.Utils
Utility class that contains static methods for common functionality.
- static to_time(core_data)
Convert measurement time to datetime. :param core_data: list of measurement data :return: list of datetime
- static split(s: str)
Split a string into head and tail. :param s: input string :return: head, tail
- class mtf.test_utilities.performance_report.PerformanceReport
This class is responsible for generating a performance report.
- __init__(log_path, pcap_filter, html_logger, file_substring='some')
- get_pcap_path()
Get path of the pcap file. :return: path of the pcap file
- read_pcap()
- pcap_decode()
Decode the pcap file. :return: decoded pcap data
- plot_cpu_packet_rate()
Plot the CPU and packet rate. :return: None
- plot_bit_rate()
- plot_graphs()
- generate_report()