Commits

Shlomi Fish  committed 19ef15b

Freecell Solver related executables.

  • Participants
  • Parent commits 3316565

Comments (0)

Files changed (2)

File shlomif-settings/home-bin-executables/bin/fcs-bench.bash

 num_cpus="$(cat /proc/cpuinfo | grep -P '^processor\s*:' | wc -l)"
 
 for I in $(seq 1 "$repeat_count") ; do
-    ARGS="--worker-step 16 -l te" bash scripts/time-threads-num.bash "$num_cpus" "$num_cpus"
+    ARGS="--worker-step 16 -l as" bash "${SRC_DIR:-.}"/scripts/time-threads-num.bash "$num_cpus" "$num_cpus"
 done

File shlomif-settings/home-bin-executables/bin/sudo_time_fcs

+#!/bin/bash
+echo "USER=$SUDO_USER"
+sudo nice -n-20 ionice -c1 -n0 sudo -u "$SUDO_USER" ./freecell-solver-range-parallel-solve "$@"