cpu product

This commit is contained in:
2024-01-14 19:42:57 -06:00
parent 3272374be1
commit 87dfb3e9df
2 changed files with 3 additions and 1 deletions

View File

@@ -53,6 +53,8 @@ PRESET=(13)
LOG="$BENCHMARK_DIR/results.txt" LOG="$BENCHMARK_DIR/results.txt"
rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR" rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR"
ffmpeg -version | grep "version" > "$LOG" 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" uname -srmpio >> "$LOG"
# Find versions of files # Find versions of files

View File

@@ -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 \ libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \
libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \ 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\ 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 curl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env" source "$HOME/.cargo/env"