version 1.11, 2004/06/30 18:30:37
|
version 1.12, 2004/07/01 02:24:18
|
|
|
| |
#define STAT_SERVEREND \ | #define STAT_SERVEREND \ |
response->endServer();\ | response->endServer();\ |
|
|
|
#define STAT_BYTESSENT \ |
Uint16 statType = (response->getType() >= CIM_GET_CLASS_RESPONSE_MESSAGE)? \ | Uint16 statType = (response->getType() >= CIM_GET_CLASS_RESPONSE_MESSAGE)? \ |
response->getType() - CIM_GET_CLASS_RESPONSE_MESSAGE:response->getType() - 1;\ | response->getType() - CIM_GET_CLASS_RESPONSE_MESSAGE:response->getType() - 1;\ |
StatisticalData::current()->addToValue(message.size(), statType, StatisticalData::BYTES_SENT); | StatisticalData::current()->addToValue(message.size(), statType, StatisticalData::BYTES_SENT); |
|
|
| |
| |
| |
|
//serverResponseTime should be an Uint64 but the << operator wont accept that |
#define STAT_SERVERTIME out << "Servertime: \r\n"; |
#define STAT_SERVERTIME \ |
|
if (StatisticalData::current()->copyGSD)\ |
|
out << "WBEMServerResponseTime: " << (Uint32) serverResponseTime << "\r\n"; |
#else | #else |
#define STAT_GETSTARTTIME | #define STAT_GETSTARTTIME |
#define STAT_PMS_PROVIDEREND | #define STAT_PMS_PROVIDEREND |
|
|
#define STAT_COPYDISPATCHER_REP | #define STAT_COPYDISPATCHER_REP |
#define STAT_BYTESREAD | #define STAT_BYTESREAD |
#define STAT_SERVERTIME | #define STAT_SERVERTIME |
|
#define STAT_BYTESSENT |
#endif | #endif |
| |
class PEGASUS_COMMON_LINKAGE StatisticalData | class PEGASUS_COMMON_LINKAGE StatisticalData |