#include <GteDX11PerformanceCounter.h>
Public Member Functions | |
void | AccumulateTime () |
DX11PerformanceCounter (ID3D11Device *device) | |
double | GetAverageSeconds () const |
unsigned int | GetNumMeasurements () const |
double | GetSeconds () const |
double | GetSeconds (int64_t numTicks) const |
int64_t | GetTicks () const |
int64_t | GetTicks (double seconds) const |
void | ResetAccumulateTime () |
~DX11PerformanceCounter () | |
Private Attributes | |
int64_t | mFinalTime |
ID3D11Query * | mFinalTimeQuery |
double | mFrequency |
ID3D11Query * | mFrequencyQuery |
double | mInvFrequency |
unsigned int | mNumMeasurements |
int64_t | mStartTime |
ID3D11Query * | mStartTimeQuery |
D3D11_QUERY_DATA_TIMESTAMP_DISJOINT | mTimeStamp |
double | mTotalSeconds |
Friends | |
class | DX11Engine |
Definition at line 17 of file GteDX11PerformanceCounter.h.
DX11PerformanceCounter::~DX11PerformanceCounter | ( | ) |
Definition at line 14 of file GteDX11PerformanceCounter.cpp.
DX11PerformanceCounter::DX11PerformanceCounter | ( | ID3D11Device * | device | ) |
Definition at line 21 of file GteDX11PerformanceCounter.cpp.
void DX11PerformanceCounter::AccumulateTime | ( | ) |
Definition at line 106 of file GteDX11PerformanceCounter.cpp.
double DX11PerformanceCounter::GetAverageSeconds | ( | ) | const |
Definition at line 112 of file GteDX11PerformanceCounter.cpp.
unsigned int DX11PerformanceCounter::GetNumMeasurements | ( | ) | const |
Definition at line 121 of file GteDX11PerformanceCounter.cpp.
double DX11PerformanceCounter::GetSeconds | ( | ) | const |
Definition at line 76 of file GteDX11PerformanceCounter.cpp.
double DX11PerformanceCounter::GetSeconds | ( | int64_t | numTicks | ) | const |
Definition at line 90 of file GteDX11PerformanceCounter.cpp.
int64_t DX11PerformanceCounter::GetTicks | ( | ) | const |
Definition at line 71 of file GteDX11PerformanceCounter.cpp.
int64_t DX11PerformanceCounter::GetTicks | ( | double | seconds | ) | const |
Definition at line 95 of file GteDX11PerformanceCounter.cpp.
void DX11PerformanceCounter::ResetAccumulateTime | ( | ) |
Definition at line 100 of file GteDX11PerformanceCounter.cpp.
|
friend |
Definition at line 43 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 50 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 48 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 49 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 46 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 49 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 52 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 50 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 47 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 45 of file GteDX11PerformanceCounter.h.
|
private |
Definition at line 51 of file GteDX11PerformanceCounter.h.