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

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

version 1.11, 2005/06/07 02:24:56 version 1.12, 2005/07/22 23:22:12
Line 109 
Line 109 
         AutoMutex autoMut(_mutex);         AutoMutex autoMut(_mutex);
         switch (t)         switch (t)
         {         {
             case SERVER:              case PEGASUS_STATDATA_SERVER:
                 numCalls[type] += 1;                 numCalls[type] += 1;
                 cimomTime[type] += value;                 cimomTime[type] += value;
                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,
Line 120 
Line 120 
                     (const char *)requestName[type].getCString(), type,                     (const char *)requestName[type].getCString(), type,
                     numCalls[type], value, cimomTime[type]);                     numCalls[type], value, cimomTime[type]);
                 break;                 break;
             case PROVIDER:              case PEGASUS_STATDATA_PROVIDER:
                 providerTime[type] += value;                 providerTime[type] += value;
                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,
                     "StatData: PROVIDER: %s(%d): count = %"                     "StatData: PROVIDER: %s(%d): count = %"
Line 130 
Line 130 
                     (const char *)requestName[type].getCString(), type,                     (const char *)requestName[type].getCString(), type,
                     numCalls[type], value, providerTime[type]);                     numCalls[type], value, providerTime[type]);
                 break;                 break;
         case BYTES_SENT:          case PEGASUS_STATDATA_BYTES_SENT:
                 responseSize[type] += value;                 responseSize[type] += value;
                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,
                     "StatData: BYTES_SENT: %s(%d): count = %"                     "StatData: BYTES_SENT: %s(%d): count = %"
Line 140 
Line 140 
                     (const char *)requestName[type].getCString(), type,                     (const char *)requestName[type].getCString(), type,
                     numCalls[type], value, responseSize[type]);                     numCalls[type], value, responseSize[type]);
                 break;                 break;
         case BYTES_READ:          case PEGASUS_STATDATA_BYTES_READ:
                 requestSize[type] += value;                 requestSize[type] += value;
                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,                 Tracer::trace(TRC_STATISTICAL_DATA, Tracer::LEVEL2,
                     "StatData: BYTES_READ: %s(%d): count = %"                     "StatData: BYTES_READ: %s(%d): count = %"


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