10 #ifndef PF_PERFORMANCE_TIMER_HPP
11 #define PF_PERFORMANCE_TIMER_HPP
24 m_start = QueryTime();
29 m_acc += QueryTime() - m_start;
32 inline int Get(int64 coef)
34 return (
int)(m_acc * coef / QueryFrequency());
37 inline int64 QueryTime()
42 inline int64 QueryFrequency()
44 return ((int64)2200 * 1000000);
54 if (m_pperf !=
nullptr) m_pperf->Start();
64 if (m_pperf !=
nullptr) {