FLImaging
6.5.13.1
FLImagingBase
FLImagingBase
PerformanceCounter.h
1
#pragma once
2
11
#include "FLBase.h"
12
14
namespace
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
:
40
CPerformanceCounter
();
41
51
CPerformanceCounter
(
const
CPerformanceCounter
& rh);
52
60
virtual
~CPerformanceCounter
();
61
73
const
CPerformanceCounter
&
operator=
(
const
CPerformanceCounter
& pc);
74
86
const
CPerformanceCounter
&
Assign
(
const
CPerformanceCounter
& pc);
87
99
const
CPerformanceCounter
&
Assign
(
const
CPerformanceCounter
* pPc);
100
108
void
Clear
();
109
117
void
Start
();
118
126
void
CheckPoint
();
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
190
double
GetElapsedTimeFromStartInSecond
()
const
;
191
201
double
GetElapsedTimeFromStartInMilliSecond
()
const
;
202
212
double
GetElapsedTimeFromStartInMicroSecond
()
const
;
213
214
DeclareGetClassType();
215
216
protected
:
217
CInternalPerformanceCounterInternal* m_pInternal;
218
};
219
}
220
}
221
FLImaging::Base::CFLBase
Top-level base class of FLImaging.
Definition
FLBase.h:36
FLImaging::Base::CPerformanceCounter
Performance counter class.
Definition
PerformanceCounter.h:29
FLImaging::Base::CPerformanceCounter::operator=
const CPerformanceCounter & operator=(const CPerformanceCounter &pc)
Assign operator.
FLImaging::Base::CPerformanceCounter::CPerformanceCounter
CPerformanceCounter()
Default constructor.
FLImaging::Base::CPerformanceCounter::~CPerformanceCounter
virtual ~CPerformanceCounter()
Destructor.
FLImaging::Base::CPerformanceCounter::GetCheckPointInMilliSecond
double GetCheckPointInMilliSecond(int64_t i64Index=0) const
Get milli second of checkpoint.
FLImaging::Base::CPerformanceCounter::GetElapsedTimeFromStartInMilliSecond
double GetElapsedTimeFromStartInMilliSecond() const
Get the elapsed time from the start time to the present in milli seconds.
FLImaging::Base::CPerformanceCounter::GetElapsedTimeFromStartInMicroSecond
double GetElapsedTimeFromStartInMicroSecond() const
Get the elapsed time from the start time to the present in micro seconds.
FLImaging::Base::CPerformanceCounter::Assign
const CPerformanceCounter & Assign(const CPerformanceCounter *pPc)
Assign object.
FLImaging::Base::CPerformanceCounter::GetCheckPointCount
size_t GetCheckPointCount() const
Get the number of checkpoints.
FLImaging::Base::CPerformanceCounter::CPerformanceCounter
CPerformanceCounter(const CPerformanceCounter &rh)
Default constructor.
FLImaging::Base::CPerformanceCounter::Clear
void Clear()
Clear checkpoint.
FLImaging::Base::CPerformanceCounter::CheckPoint
void CheckPoint()
Check point.
FLImaging::Base::CPerformanceCounter::GetCheckPointInMicroSecond
double GetCheckPointInMicroSecond(int64_t i64Index=0) const
Get micro second of checkpoint.
FLImaging::Base::CPerformanceCounter::Assign
const CPerformanceCounter & Assign(const CPerformanceCounter &pc)
Assign object.
FLImaging::Base::CPerformanceCounter::GetCheckPointInSecond
double GetCheckPointInSecond(int64_t i64Index=0) const
Get second of checkpoint.
FLImaging::Base::CPerformanceCounter::Start
void Start()
Set performance count start time.
FLImaging::Base::CPerformanceCounter::GetElapsedTimeFromStartInSecond
double GetElapsedTimeFromStartInSecond() const
Get the elapsed time from the start time to the present in seconds.
FLImaging
Generated on Tue May 13 2025 10:30:31 for FLImaging by
1.12.0