Bluehost.com Web Hosting $6.95

how the get the time used for every http request in micro-second

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2007
songjiang@gmail.com
 
Posts: n/a
Default how the get the time used for every http request in micro-second

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.

  #2 (permalink)  
Old 01-23-2007
Phil Frisbie, Jr.
 
Posts: n/a
Default Re: how the get the time used for every http request in micro-second

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 Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0