MIDAS
Loading...
Searching...
No Matches
RequestTrace Class Reference
Collaboration diagram for RequestTrace:

Public Member Functions

 RequestTrace ()
 
void PrintTrace0 () const
 

Public Attributes

double fTimeReceived
 
double fTimeLocked
 
double fTimeUnlocked
 
double fTimeProcessed
 
double fTimeSent
 
bool fCompleted
 
std::string fMethod
 
std::string fUri
 
std::string fQuery
 
std::string fRPC
 
std::string fResource
 
bool fAuthOk
 

Detailed Description

Definition at line 415 of file mhttpd.cxx.

Constructor & Destructor Documentation

◆ RequestTrace()

RequestTrace::RequestTrace ( )
inline

Definition at line 432 of file mhttpd.cxx.

433 {
434 fTimeReceived = 0;
435 fTimeLocked = 0;
436 fTimeUnlocked = 0;
437 fTimeProcessed = 0;
438 fTimeSent = 0;
439 fCompleted = false;
440 fAuthOk = false;
441 }
double fTimeSent
Definition mhttpd.cxx:422
bool fCompleted
Definition mhttpd.cxx:423
double fTimeReceived
Definition mhttpd.cxx:418
double fTimeUnlocked
Definition mhttpd.cxx:420
double fTimeLocked
Definition mhttpd.cxx:419
double fTimeProcessed
Definition mhttpd.cxx:421

Member Function Documentation

◆ PrintTrace0()

void RequestTrace::PrintTrace0 ( ) const
inline

Definition at line 443 of file mhttpd.cxx.

444 {
445 printf("%.3f ", fTimeReceived);
446 printf("%.3f ", fTimeLocked-fTimeReceived);
447 printf("%.3f ", fTimeUnlocked-fTimeLocked);
448 printf("%.3f ", fTimeProcessed-fTimeUnlocked);
449 printf("%.3f ", fTimeSent-fTimeProcessed);
450 printf("A ");
451 printf("%d ", fAuthOk);
452 printf("T ");
453 printf("%.3f ", fTimeSent-fTimeReceived);
454 printf("%.3f ", fTimeLocked-fTimeReceived);
455 printf("%.3f ", fTimeProcessed-fTimeLocked);
456 printf("M %s ", fMethod.c_str());
457 printf("URL %s ", fUri.c_str());
458 if (fRPC.length() > 0) {
459 printf("RPC %s ", fRPC.c_str());
460 }
461 printf("\n");
462 };
std::string fMethod
Definition mhttpd.cxx:424
std::string fUri
Definition mhttpd.cxx:425
std::string fRPC
Definition mhttpd.cxx:427
Here is the caller graph for this function:

Member Data Documentation

◆ fAuthOk

bool RequestTrace::fAuthOk

Definition at line 429 of file mhttpd.cxx.

◆ fCompleted

bool RequestTrace::fCompleted

Definition at line 423 of file mhttpd.cxx.

◆ fMethod

std::string RequestTrace::fMethod

Definition at line 424 of file mhttpd.cxx.

◆ fQuery

std::string RequestTrace::fQuery

Definition at line 426 of file mhttpd.cxx.

◆ fResource

std::string RequestTrace::fResource

Definition at line 428 of file mhttpd.cxx.

◆ fRPC

std::string RequestTrace::fRPC

Definition at line 427 of file mhttpd.cxx.

◆ fTimeLocked

double RequestTrace::fTimeLocked

Definition at line 419 of file mhttpd.cxx.

◆ fTimeProcessed

double RequestTrace::fTimeProcessed

Definition at line 421 of file mhttpd.cxx.

◆ fTimeReceived

double RequestTrace::fTimeReceived

Definition at line 418 of file mhttpd.cxx.

◆ fTimeSent

double RequestTrace::fTimeSent

Definition at line 422 of file mhttpd.cxx.

◆ fTimeUnlocked

double RequestTrace::fTimeUnlocked

Definition at line 420 of file mhttpd.cxx.

◆ fUri

std::string RequestTrace::fUri

Definition at line 425 of file mhttpd.cxx.


The documentation for this class was generated from the following file: