(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.17 and 1.18

version 1.17, 2005/06/07 02:24:56 version 1.18, 2005/07/22 23:22:12
Line 72 
Line 72 
 #define STAT_BYTESSENT \ #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::PEGASUS_STATDATA_BYTES_SENT);
  
  
  
Line 108 
Line 108 
 Uint16 statType = (request->getType() >= CIM_GET_CLASS_RESPONSE_MESSAGE)? \ Uint16 statType = (request->getType() >= CIM_GET_CLASS_RESPONSE_MESSAGE)? \
     request->getType() - CIM_GET_CLASS_RESPONSE_MESSAGE: request->getType()-1;\     request->getType() - CIM_GET_CLASS_RESPONSE_MESSAGE: request->getType()-1;\
 StatisticalData::current()->requSize = contentLength; \ StatisticalData::current()->requSize = contentLength; \
 StatisticalData::current()->addToValue(contentLength, statType, StatisticalData::BYTES_READ);  StatisticalData::current()->addToValue(contentLength, statType, StatisticalData::PEGASUS_STATDATA_BYTES_READ);
  
  
  
Line 167 
Line 167 
       };       };
  
       enum StatDataType{       enum StatDataType{
          SERVER,           PEGASUS_STATDATA_SERVER,
          PROVIDER,           PEGASUS_STATDATA_PROVIDER,
          BYTES_SENT,           PEGASUS_STATDATA_BYTES_SENT,
          BYTES_READ           PEGASUS_STATDATA_BYTES_READ
       };       };
  
       static const Uint32 length;       static const Uint32 length;


Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2