File:  [gforth] / gforth / vmgen-ex / stat.awk
Revision 1.1: download - view: text, annotated - select for diffs
Tue May 1 10:20:56 2001 UTC (20 years, 5 months ago) by anton
Branches: MAIN
CVS tags: v0-7-0, v0-6-2, v0-6-1, v0-6-0, HEAD
fixed profiling
completed README

BEGIN {
  FS="\t";
}
{
  dyn[$2] += $1;
  stat[$2]++;
  files[$2] += (FILENAME!=filename[$2]);
  filename[$2] = FILENAME;
}
END {
  for (i in dyn)
    printf("%7d\t%7d\t%15d\t%s\n",files[i],stat[i],dyn[i],i);
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>