This is a discussion on how the get the time used for every http request in micro-second within the Windows Web Servers forums, part of the Web Server and Related Forums category; hi, all now, i want to get the time used for every user's request in order to evaluate the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi, all
now, i want to get the time used for every user's request in order to evaluate the performance of our background data modules. we can use the %T argument of ap_config_mod to print this time used in second at present. but in practice, the time used for most of the requests are less than one second. so, we want to get it in a more precise in micro-second just using the struct timeval. is anyone can give me a help. thanks so much. |
|
|||
|
songjiang@gmail.com wrote:
> hi, all > now, i want to get the time used for every user's request in order > to evaluate the performance of our background data modules. > we can use the %T argument of ap_config_mod to print this time > used in second at present. but in practice, the time used for most of > the requests are less than one second. so, we want to get it in a more > precise in micro-second just using the struct timeval. > is anyone can give me a help. thanks so much. This is a basic Windows API question, and not really related to web servers. Anyway, without knowing what programming language you want to use it is just a guess on my part. So, since I am primarily a C programmer, I will answer in C: Use _ftime() or GetSystemTime(). -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com |
| Thread Tools | |
| Display Modes | |
|
|