head	1.1;
access;
symbols
	charm6_1:1.1
	charm_6_0_1:1.1
	charm6_0_1:1.1
	charm6_0:1.1
	ChaNGa_1-0:1.1
	charm5_9:1.1
	charm_5-4-2:1.1
	charm_5-4-1:1.1
	pre-winnt-version:1.1
	charm500:1.1
	charm499:1.1;
locks; strict;
comment	@# @;


1.1
date	97.05.05.13.51.05;	author jyelon;	state Exp;
branches;
next	;


desc
@@


1.1
log
@New quickthreads-based threads package.
@
text
@#! /bin/awk -f

BEGIN {
  purpose = "report time used by int only and int+fp cswaps";

  nmach = 0;

  test_int = "7";
  test_fp = "8";
}

{
  mach = $1
  test = $2
  iter = $3
  time = $6 + $8

  if (machi[mach] == 0) {
    machn[nmach] = mach;
    machi[mach] = 1;
    ++nmach;
  }

  us_per_op = time / iter * 1000000
  times[mach "_" test] = us_per_op;
}


END {
  for (i=0; i<nmach; ++i) {
    m = machn[i];

    integer = times[m "_" test_int];
    fp = times[m "_" test_fp];
    printf ("%s|%3.1f|%3.1f\n", m, integer, fp);
  }
}
@
