summaryrefslogtreecommitdiffstats
path: root/src/ci/scripts/collect-cpu-stats.sh
blob: 853b4628fab2f3d1c487afcc46db4018ec9ae988 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# Spawn a background process to collect CPU usage statistics which we'll upload
# at the end of the build. See the comments in the script here for more
# information.

set -euo pipefail
IFS=$'\n\t'

python3 src/ci/cpu-usage-over-time.py &> cpu-usage.csv &