|
|
@@ -1,4 +1,4 @@ |
|
|
|
#!/bin/bash |
|
|
|
#! /usr/bin/env bash |
|
|
|
|
|
|
|
# Check if a directory argument is given |
|
|
|
if [[ -z "$1" ]]; then |
|
|
@@ -19,8 +19,8 @@ printf "%s\n" "--------------------------------------" |
|
|
|
|
|
|
|
# Loop through code versions |
|
|
|
for VERSION in V0 V1 V2; do |
|
|
|
printf "\n%-15s %s\n" "Code version:" "$VERSION" |
|
|
|
printf "%-10s %-18s %-18s %-18s\n" "" "Total" "Mem-xch" "Sorting" |
|
|
|
printf "\n%-14s %s\n" "Code version:" "$VERSION" |
|
|
|
printf "%-8s %-18s %-18s %-18s\n" "" "Total" "Mem-xch" "Sorting" |
|
|
|
|
|
|
|
for Q in {20..30}; do |
|
|
|
FILE=$(grep -l "\[Log\]: Code version: $VERSION" "$LOG_DIR"/* | xargs grep -l "Q=$Q") |
|
|
|