(file) Return to StatisticalData.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/StatisticalData.h between version 1.11 and 1.12

version 1.11, 2004/06/30 18:30:37 version 1.12, 2004/07/01 02:24:18
Line 64 
Line 64 
  
 #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);
Line 108 
Line 110 
  
  
  
   //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
Line 123 
Line 127 
 #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


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2