head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	95.03.22.21.10.54;	author andrew;	state Exp;
branches;
next	;


desc
@@


1.1
log
@wisconsin benchmark suite
@
text
@#!/bin/sh

egrep 'x = "|elapse' > /tmp/foo$$

awk 'BEGIN { x = 0; y = 0; z = 0; a = 0; } \
     /.*elapse.*/ {x = $2 + x; y = $4 + y; z = $6 + z;} \
     /.*x = ".*/ { \
	 printf "query %2d: %7.3f real %7.3f user %7.3f sys\n", a, x, y, z; \
	 x = 0; y = 0; z = 0; a = a + 1; } \
     END {printf("query %2d: %7.3f real %7.3f user %7.3f sys\n", a, x, y, z);}' \
	 < /tmp/foo$$
	 
@
