[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Problem with gawk code



On Sat, 10 Nov 2001, gosh larous wrote:

> Thank you for your mail. I downloaded awk->c converter
>  (awake-0.7.5). And I convert my awk code to c  (awka
> -f  /home/test.awk> /home/test.c) but I have a
> question.  I had added my awk file to my tcl file
> through procedure monitor which called before finish
> proc.
> proc monitor { } {

If your simulation is calling awk directly, no wonder it's slow; all
that piping gets in the way.

(I pipe to gzip -c and postprocess for large simulations, and even
that's a slowdown.)

L.

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>