Hi Rainer, I am using Windows 2000 professional so I suspect Tomcat is using an windows api call that is limited to 15msec resolution even though the %d is advertised as microsecond resolution.
The Java jre had this issue then with release 1.5+ Sun added a nanosecond timer which is what I used for making servlet measurments. Of course when I got below that in my design/implementation that was not good enough but by then I figured that kind of response time meant over 1 billion requests per second per cpu so I was happy. Of course getting that out of the servlet container and web services layer was the next challenge ;) Regards, Tony Anecito Founder, MyUniPortal --- Rainer Jung <[EMAIL PROTECTED]> wrote: > Christopher Schultz wrote: > > Other factors include the resolution of the timer > being used by Apache > > and/or mod_jk for emitting log messages. Most > people don't care about > > high-resolution timing for things like web server > logs, so I wouldn't > > expect Apache to be using one. > > mod_jk as well as Apache httpd use apr_time_now(). I > checked with APR > 1.2 (httpd 2.2): on Unix/Linux this is > gettimeofday(). > > Even on an old Solaris 8 system, I can easily get > microsecond resolution > out of a C test program using gettimeofday(), i.e. > successive calls to > gettimeofday return microsecond values differing by > 0 or 1 microsecond. > > Regards, > > Rainer > > --------------------------------------------------------------------- > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! http://tv.yahoo.com/collections/3658 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]