Introduce a ZED_MEASUREMENTS env var and use it to measure frame time

This commit is contained in:
Antonio Scandurra 2024-01-22 11:37:14 +01:00
parent 10ca33ce02
commit de64de22a3
3 changed files with 37 additions and 6 deletions

View file

@ -1,5 +1,14 @@
#!/usr/bin/env python3
# Required dependencies for this script:
#
# pandas: For data manipulation and analysis.
# matplotlib: For creating static, interactive, and animated visualizations in Python.
# seaborn: For making statistical graphics in Python, based on matplotlib.
# To install these dependencies, use the following pip command:
# pip install pandas matplotlib seaborn
# This script is designed to parse log files for performance measurements and create histograms of these measurements.
# It expects log files to contain lines with measurements in the format "measurement: timeunit" where timeunit can be in milliseconds (ms) or microseconds (µs).
# Lines that do not contain a colon ':' are skipped.