diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 4bba658..f9bd0c7 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -53,6 +53,8 @@ PRESET=(13) LOG="$BENCHMARK_DIR/results.txt" rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR" ffmpeg -version | grep "version" > "$LOG" +CPU_PROD=$(sudo lshw | grep "product" | head -1 | cut -d ':' -f2) +echo "CPU product:$CPU_PROD with $(nproc) threads" >> $LOG uname -srmpio >> "$LOG" # Find versions of files diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index a6d351a..0ecf0c3 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -6,7 +6,7 @@ sudo apt-get install autoconf automake build-essential cmake git-core \ libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \ libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \ texinfo wget zlib1g-dev nasm yasm libssl-dev time python3 meson ninja-build\ - doxygen xxd jq -y || exit 1 + doxygen xxd jq lshw -y || exit 1 curl https://sh.rustup.rs -sSf | sh -s -- -y source "$HOME/.cargo/env"