Skip to content
Permalink
Browse files

Add 7z benchmark output

  • Loading branch information...
NEMS Linux
NEMS Linux committed May 1, 2019
1 parent 8b7c024 commit 5ec7d5f888c29989f062a9f8b5cdfa43f09e64df
Showing with 8 additions and 0 deletions.
  1. +7 −0 info.sh
  2. +1 −0 stats.sh
@@ -349,6 +349,13 @@ elif [[ $COMMAND == "benchmark" ]]; then
if [[ $VARIABLE == 'ram' ]]; then
cat /var/log/nems/benchmarks/ram
fi
if [[ $VARIABLE == '7z' ]]; then
if [[ -f /var/log/nems/benchmarks/7z ]]; then
cat /var/log/nems/benchmarks/7z
else
echo 0
fi
fi


elif [[ $COMMAND == "alias" ]]; then
@@ -61,6 +61,7 @@ if (file_exists('/var/log/nems/hw_model')) { // Don't run this until system is r
$benchmarks['ram'] = shell_exec('/usr/local/bin/nems-info benchmark ram');
$benchmarks['io'] = shell_exec('/usr/local/bin/nems-info benchmark io');
$benchmarks['mutex'] = shell_exec('/usr/local/bin/nems-info benchmark mutex');
$benchmarks['7z'] = shell_exec('/usr/local/bin/nems-info benchmark 7z');
// Put it together to send to the server
$data = array(

0 comments on commit 5ec7d5f

Please sign in to comment.
You can’t perform that action at this time.