MCPcopy Create free account
hub / github.com/aliasIsolation/aliasIsolation / ProfileData

Class ProfileData

src/dll/profiler.h:38–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 static const UINT64 QueryLatency = 9;
37
38 struct ProfileData
39 {
40 ID3D11Query* DisjointQuery[QueryLatency];
41 ID3D11Query* TimestampStartQuery[QueryLatency];
42 ID3D11Query* TimestampEndQuery[QueryLatency];
43 BOOL QueryStarted;
44 BOOL QueryFinished;
45 double lastValue;
46
47 ProfileData() : QueryStarted(FALSE), QueryFinished(FALSE), lastValue(-1) {
48 for (UINT64 i = 0; i < QueryLatency; ++i) {
49 DisjointQuery[i] = nullptr;
50 TimestampStartQuery[i] = nullptr;
51 TimestampEndQuery[i] = nullptr;
52 }
53 }
54 };
55
56 typedef std::map<std::string, ProfileData> ProfileMap;
57

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected