FLImaging 6.5.8.1
PerformanceCounter.h
1#pragma once
2
11#include "FLBase.h"
12
14namespace FLImaging
15{
17 namespace Base
18 {
19 class CInternalPerformanceCounterInternal;
20
28 class FL_EXPORT CPerformanceCounter : public CFLBase
29 {
30 SupportToDuplicateObject(CPerformanceCounter,*this);
31
32 public:
41
52
61
74
87
100
108 void Clear();
109
117 void Start();
118
127
128
138 size_t GetCheckPointCount() const;
139
140
152 double GetCheckPointInSecond(int64_t i64Index = 0) const;
153
165 double GetCheckPointInMilliSecond(int64_t i64Index = 0) const;
166
178 double GetCheckPointInMicroSecond(int64_t i64Index = 0) const;
179
180
191
202
213
214 DeclareGetClassType();
215
216 protected:
217 CInternalPerformanceCounterInternal* m_pInternal;
218 };
219 }
220}
221
FLImaging의 최상위 기저 클래스
Definition FLBase.h:36
성능 측정 클래스
Definition PerformanceCounter.h:29
const CPerformanceCounter & operator=(const CPerformanceCounter &pc)
객체 할당 연산자
virtual ~CPerformanceCounter()
소멸자
double GetCheckPointInMilliSecond(int64_t i64Index=0) const
체크 포인트의 Milli Second 를 얻음
double GetElapsedTimeFromStartInMilliSecond() const
시작 시간으로부터 현재 까지의 경과시간을 Milli second 단위로 얻음
double GetElapsedTimeFromStartInMicroSecond() const
시작 시간으로부터 현재 까지의 경과시간을 Micro second 단위로 얻음
const CPerformanceCounter & Assign(const CPerformanceCounter *pPc)
객체 할당 함수
size_t GetCheckPointCount() const
체크 포인트의 개수를 얻음
CPerformanceCounter(const CPerformanceCounter &rh)
복사 생성자
void Clear()
체크 포인트 제거
void CheckPoint()
체크 포인트를 남김
double GetCheckPointInMicroSecond(int64_t i64Index=0) const
체크 포인트의 Micro Second 를 얻음
const CPerformanceCounter & Assign(const CPerformanceCounter &pc)
객체 할당 함수
double GetCheckPointInSecond(int64_t i64Index=0) const
체크 포인트의 Second 를 얻음
void Start()
성능 측정 기준 시간 설정
double GetElapsedTimeFromStartInSecond() const
시작 시간으로부터 현재 까지의 경과시간을 Second 단위로 얻음