Branch: Tag:

2006-09-21

2006-09-21 14:44:42 by Marcus Wellhardh <wellhard@roxen.com>

Implemented better timing for requests using gethrtime(). The log variable $request-time is now pretty acurate.

Rev: server/base_server/prototypes.pike:1.183
Rev: server/base_server/roxen.pike:1.936
Rev: server/protocols/http.pike:1.506

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.182 2006/09/18 16:18:34 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.183 2006/09/21 14:44:42 wellhard Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
846:    int time;    //! Time of the request, standard unix time (seconds since the epoch; 1970).    +  int hrtime; +  //! Time of the request, high resolution time. +     string raw_url;    //! The nonparsed, nontouched, non-* URL requested by the client.    //! Hence, this path is unlike <ref>not_query</ref> and