BTW: In the Informix DBMS the Software Architects decided to implement an OS 
independent timer thread to work arround (very costly in the late 90s) 
gettimeofday() calls.

I've run the code on some Solaris 10 boxes, because they were known for their 
slow gettimeofday() implementation

S11 snv_105 Pentium 4 3GHz 
time ./a.out 100000
real    0m0.087s
user    0m0.082s
sys     0m0.004s

S10 Generic_138889-03 Athlon 2,2GHz
time ./a.out 100000
real    0m0.028s
user    0m0.026s
sys     0m0.002s

ok, lets try this on an older boxes...
suse70 2.2.21 libc-2.1.3-141 2xP3 800
time ./a.out 100000

real    0m0.100s
user    0m0.080s
sys     0m0.020s

So, what are you using as a development box?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to