cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

run_bench_strncmp.sh (243B)


      1#!/bin/bash
      2# SPDX-License-Identifier: GPL-2.0
      3
      4source ./benchs/run_common.sh
      5
      6set -eufo pipefail
      7
      8for s in 1 8 64 512 2048 4095; do
      9	for b in no-helper helper; do
     10		summarize ${b}-${s} "$($RUN_BENCH --cmp-str-len=$s strncmp-${b})"
     11	done
     12done