(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.22.8.8 and 1.23

version 1.22.8.8, 2013/11/21 17:59:42 version 1.23, 2013/10/13 22:46:58
Line 68 
Line 68 
   "Associators",                    //    16          16   "Associators",                    //    16          16
   "AssociatorNames",                //    17          17   "AssociatorNames",                //    17          17
   "References",                     //    18          18   "References",                     //    18          18
   "ReferenceNames",                 //    19          19    "ReferenceNames",                 //    19          20
   "GetProperty",                    //    20          20   "GetProperty",                    //    20          20
   "SetProperty",                    //    21          21   "SetProperty",                    //    21          21
   "GetQualifier",                   //    22          22   "GetQualifier",                   //    22          22
Line 77 
Line 77 
   "EnumerateQualifiers",            //    25          25   "EnumerateQualifiers",            //    25          25
 // Entries below this point are not part of the CIM Class and are treated // Entries below this point are not part of the CIM Class and are treated
 // as OtherOperationTypes in the CIM_CIMOMStatisticalData instance. // as OtherOperationTypes in the CIM_CIMOMStatisticalData instance.
   "InvokeMethod",                    //    26          Not Present index = 26    "InvokeMethod"                    //    26          Not Present index = 26
 //EXP_PULL_BEGIN  
 //// These are not defined in CIM_StatisticalData class and are  
 ///  represented by the Other groping with supplementary property  
   "OpenEnumerateInstances",         //    71          27  
   "OpenEnumerateInstancePaths",     //    72  
   "OpenAssociators",                //    73  
   "OpenAssociatorPaths",           //     74  
   "OpenReferences",                 //    75  
   "OpenReferenceNames",             //    76  
   "OpenQueryInstances",             //    77  
   "PullInstancesWithPath",          //    78  
   "PullInstancePaths",              //    79  
   "CloseEnumeration" ,              //    80  
 //EXP_PULL_END  
 }; };
  
 const Uint32 StatisticalData::length = NUMBER_OF_TYPES; const Uint32 StatisticalData::length = NUMBER_OF_TYPES;
Line 130 
Line 117 
     }     }
 } }
  
   
 String StatisticalData::getRequestName(Uint16 i) String StatisticalData::getRequestName(Uint16 i)
 { {
     return requestName[i];     return requestName[i];
Line 143 
Line 131 
     // mapping request and responses to the request types.     // mapping request and responses to the request types.
     Uint16 type;     Uint16 type;
  
     if ((msgType) >= CIM_OPEN_ENUMERATE_INSTANCES_REQUEST_MESSAGE)      // if is response type, substract starting point of responses.
     {      if (msgType >= CIM_GET_CLASS_RESPONSE_MESSAGE)
         type = msgType - CIM_DELETE_QUALIFIER_RESPONSE_MESSAGE;  
     }  
     else if (msgType >= CIM_GET_CLASS_RESPONSE_MESSAGE)  
     {     {
         type = msgType - CIM_GET_CLASS_RESPONSE_MESSAGE;         type = msgType - CIM_GET_CLASS_RESPONSE_MESSAGE;
     }     }
Line 164 
Line 149 
                  "Invalid Request Type =  %u", type));                  "Invalid Request Type =  %u", type));
          return;          return;
     }     }
     //// Diagnostic to confirm message type conversion. Normally commented  
     //// out  
 //  PEG_TRACE((TRC_STATISTICAL_DATA, Tracer::LEVEL4,  
 //   "StatisticalData::addToValue msgType %s %u. stat type %u %s",  
 //             MessageTypeToString(msgType),  
 //             msgType, type, (const char*)requestName[type].getCString() ));  
  
     if (copyGSD)     if (copyGSD)
     {     {


Legend:
Removed from v.1.22.8.8  
changed lines
  Added in v.1.23

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2