perfsrv/piprofiler/plugins/GeneralsPlugin/inc/MemoryEventHandler.h
changeset 62 1c2bb2fc7c87
parent 51 98307c651589
--- a/perfsrv/piprofiler/plugins/GeneralsPlugin/inc/MemoryEventHandler.h	Fri Oct 08 14:56:39 2010 +0300
+++ b/perfsrv/piprofiler/plugins/GeneralsPlugin/inc/MemoryEventHandler.h	Tue Oct 26 16:20:32 2010 +0300
@@ -30,7 +30,7 @@
     {
 public:
     // constructor
-    DMemoryEventHandler(DProfilerSampleBuffer*  aSampleBuffer);
+    DMemoryEventHandler(DProfilerSampleBuffer*  aSampleBuffer, TProfilerGppSamplerData* aGppSamplerDataIn);
     TInt Create();
     ~DMemoryEventHandler();
     TInt Start();
@@ -38,6 +38,7 @@
     TBool Tracking() {return iTracking;}
        
     TBool SampleNeeded();
+    void SampleHandled();
     
 private:
     static TUint EventHandler(TKernelEvent aEvent, TAny* a1, TAny* a2, TAny* aThis);
@@ -80,12 +81,14 @@
     DProfilerSampleBuffer*  iSampleBuffer;
     TInt iCounters[EEventLimit];
     
-    TUint32     iCount;
+    //TUint32     iCount;
     
     TUint8      iSample[KEventBufferSize];
     TPtr8       iSampleDescriptor;
     
     TUint32     iPreviousCount;
+    TBool       iSampleAvailable;
+    TProfilerGppSamplerData*     gppSamplerData;
     };
 
 #endif