(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.24 and 1.25

version 1.24, 2006/08/09 21:12:42 version 1.25, 2006/08/22 18:29:36
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Arthur Pichlkostner  
 //             (checked in: Markus Mueller sedgewick_de@yahoo.de)  
 //  
 // Modified By:  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef STATISTICAL_DATA_H  #ifndef Pegasus_StatisticalData_h
 #define STATISTICAL_DATA_H  #define Pegasus_StatisticalData_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <iostream> #include <iostream>
Line 48 
Line 43 
 #include <Pegasus/Common/CIMProperty.h> #include <Pegasus/Common/CIMProperty.h>
 #include <Pegasus/Common/CIMInstance.h> #include <Pegasus/Common/CIMInstance.h>
 #include <Pegasus/Common/CIMDateTime.h> #include <Pegasus/Common/CIMDateTime.h>
   #include <Pegasus/Common/CIMMessage.h>
 #include <Pegasus/Common/Mutex.h> #include <Pegasus/Common/Mutex.h>
 #include <Pegasus/Common/Time.h> #include <Pegasus/Common/Time.h>
  
Line 144 
Line 140 
 #define STAT_BYTESSENT #define STAT_BYTESSENT
 #endif #endif
  
   class PEGASUS_COMMON_LINKAGE StatProviderTimeMeasurement
   {
   public:
       StatProviderTimeMeasurement(CIMMessage* message)
           : _message(message)
       {
   #ifndef PEGASUS_DISABLE_PERFINST
           _message->setStartProviderTime(TimeValue::getCurrentTime());
   #endif
       }
   
       ~StatProviderTimeMeasurement()
       {
   #ifndef PEGASUS_DISABLE_PERFINST
           _message->endProvider();
   #endif
       }
   
   private:
       StatProviderTimeMeasurement();
       StatProviderTimeMeasurement(const StatProviderTimeMeasurement&);
       StatProviderTimeMeasurement& operator=(const StatProviderTimeMeasurement&);
   
       CIMMessage* _message;
   };
   
 class PEGASUS_COMMON_LINKAGE StatisticalData class PEGASUS_COMMON_LINKAGE StatisticalData
 { {
    public:    public:


Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2