perfsrv/piprofiler/plugins/GeneralsPlugin/inc/GfcSamplerImpl.h
changeset 62 1c2bb2fc7c87
parent 51 98307c651589
equal deleted inserted replaced
56:aa2539c91954 62:1c2bb2fc7c87
    42 {
    42 {
    43 public:
    43 public:
    44 	DProfilerGfcSampler(struct TProfilerGppSamplerData* );
    44 	DProfilerGfcSampler(struct TProfilerGppSamplerData* );
    45 	~DProfilerGfcSampler();
    45 	~DProfilerGfcSampler();
    46 
    46 
    47 	void	Sample();
    47 	void	Sample(TAny* aPtr);
    48 	TInt	Reset(DProfilerSampleStream* aStream, TUint32 aSyncOffset);
    48 	TInt	Reset(DProfilerSampleStream* aStream, TUint32 aSyncOffset);
    49 private:
    49 private:
    50 	struct TProfilerGppSamplerData* gppSamplerData;
    50 	struct TProfilerGppSamplerData* gppSamplerData;
    51 	TUint32 gfcSample[3];
    51 	TUint32 gfcSample[3];
    52 
    52 
    99 
    99 
   100 	return KErrNone;
   100 	return KErrNone;
   101 }
   101 }
   102 
   102 
   103 template <int BufferSize>
   103 template <int BufferSize>
   104 void DProfilerGfcSampler<BufferSize>::Sample()
   104 void DProfilerGfcSampler<BufferSize>::Sample(TAny* aPtr)
   105 {
   105 {
   106 	LOGSTRING2("CProfilerGfcSampler<%d>::Sample",BufferSize);	
   106 	LOGSTRING2("CProfilerGfcSampler<%d>::Sample",BufferSize);	
   107 
   107 
   108 	TUint32 usr_mod_link_reg;
   108 	TUint32 usr_mod_link_reg;
   109 
   109