summaryrefslogtreecommitdiffstats
path: root/count-all
blob: 7a353bc039a1811dd6da89963c4c05a27132aaa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

EVENTS="SCHED SCHED2 TICK CXS RELEASE RELEASE-LATENCY SEND-RESCHED"

DIR="$1"

if [ -z "$DIR" ]
then
    DIR=.
fi

for E in $EVENTS
do
    FILES=`find "$DIR" -iname "*overhead=${E}.bin"`
    shuffle_truncate.py --count $FILES > counts_overhead=${E}.txt
done