# The SPIMS software is covered by a license. The use of the software
# represents acceptance of the terms and conditions in the license.
# ******************************************************************
# Copyright (c) 1989, Swedish Institute of Computer Science
awk 'BEGIN { i = 0; }\
$3 == "msg" && $4 == "size" { ms = int(substr($5, 0, length($5)-1));} \
$1 == "elapsed" { et = $2 }\
$1 == "msgsent" { mn = $2; printf "%d\t%f\n", ms, et/mn; i++;} \
' $*
