mongo::ServiceStats Class Reference
#include <service_stats.h>
List of all members.
Detailed Description
ServiceStats keeps track of the time a request/response message took inside a service as well as the size of the response generated.
Definition at line 37 of file service_stats.h.
Constructor & Destructor Documentation
mongo::ServiceStats::ServiceStats |
( |
|
) |
|
mongo::ServiceStats::~ServiceStats |
( |
|
) |
|
mongo::ServiceStats::ServiceStats |
( |
const ServiceStats & |
|
) |
[private] |
Member Function Documentation
void mongo::ServiceStats::logResponse |
( |
uint64_t |
duration, |
|
|
uint64_t |
bytes | |
|
) |
| | |
Record the 'duration' in microseconds a request/response message took and the size in bytes of the generated response.
string mongo::ServiceStats::toHTML |
( |
|
) |
const |
Render the histogram as string that can be used inside an HTML doc.
Member Data Documentation
The documentation for this class was generated from the following file: