summary refs log tree commit diff
path: root/src/ci/scripts/collect-cpu-stats.sh
blob: 08065431f981650e7b000281c288220e80f9d4c6 (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'

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