⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
batman-adv
All Projects
Open-Mesh
»
batman-adv
Overview
Activity
Roadmap
Issues
Gantt
Wiki
Download (339 Bytes)
Kmalloc-kmem-cache-tests
» eval.sh
Linus Lüssing
, 06/20/2016 06:51 AM
#!/bin/sh
for
i
in
$1
/
*
/
*
;
do
tail
-n
50
$i
|
head
-n
-3
|
grep
"TG"
|
tail
-n1
|
awk
'{ print $2 }'
done
|
sort
-n
\
|
awk
'{sum += $1; sumsq += ($1)^2; a[NR] = $1} END { s = sqrt((sumsq-sum^2/NR)/NR); if (NR % 2) {med=a[(NR+1) / 2]} else {med=(a[NR/2] + a[(NR/2)+1])/2.0}; printf "%f %f %f %f %i\n", sum/NR, med, s, s/sqrt(NR), NR }'
« Previous
1
…
9
10
11
Next »
(11-11/11)
Loading...