MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / CheckAll

Function CheckAll

Tests/PresentMon.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace {
22
23void CheckAll(size_t const* columnIndex, bool* ok, std::initializer_list<PresentMonCsv::Header> const& headers)
24{
25 *ok = true;
26 for (auto const& h : headers) {
27 if (columnIndex[h] == SIZE_MAX) {
28 *ok = false;
29 return;
30 }
31 }
32}
33
34size_t CheckOne(size_t const* columnIndex, bool* ok, std::initializer_list<PresentMonCsv::Header> const& headers)
35{

Callers 3

CheckAllIfAnyFunction · 0.85
OpenMethod · 0.85
OpenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected