2024-05-12 16:47:53 +02:00
|
|
|
#!/bin/sh
|
|
|
|
if [ $# -ne 1 ]
|
|
|
|
then
|
|
|
|
echo "usage: $0 result-directory"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
d=$1
|
|
|
|
|
2024-05-23 22:58:57 +02:00
|
|
|
awk '{ print $1 }' < $d/ram_index.d | sort -n | uniq > it
|
2024-05-12 16:47:53 +02:00
|
|
|
mkdir data
|
|
|
|
|
|
|
|
echo "from truncated data (.t) to graphed data data/XXX.d"
|
2024-05-23 14:18:16 +02:00
|
|
|
paste it $d/ram_index.t $d/cached_index.t $d/fifo_index.t $d/semi_index.t $d/uncached_index.t > ./data/index.d
|
|
|
|
paste it $d/ram_partitions.t $d/cached_partitions.t $d/fifo_partitions.t $d/semi_partitions.t $d/uncached_partitions.t > ./data/partitions.d
|
|
|
|
paste it $d/ram_tags.t $d/cached_tags.t $d/fifo_tags.t $d/semi_tags.t $d/uncached_tags.t > ./data/tags.d
|