Re: [ns] R: which trace format is more accurate?

2006-04-19 Thread Sasan Sahraei
Marco, This is the exact point, the difference is about 300 to 400 for 100 sec sim time I reran the same simulation and all I did was to change the trace format, but I see such a difference in number of sent $1~/s/ && /AGT/ { sent ++; } any comments? both running on the same machine. all th

Re: [ns] R: which trace format is more accurate?

2006-04-15 Thread Sasan Sahraei
Marco, I agree that I need separate awk scripts for different trace formats but the particular example that I gave below is straight forward $1~/s/ && /AGT/ { sent ++; } and should return total number of sents message in a simulation and that still returns different values (unless this is not

[ns] R: which trace format is more accurate?

2006-04-15 Thread Marco Fiore
Sasan, both versions of tracefile report the same information. The difference only lies in the format (actually, the new trace format is somehow more complete). So they are accurate in the same way, but the point is that you can't use the same awk script on both! You have to write two version