#include "common/angleutils.h"
#include "common/debug.h"
#include <stdio.h>
#include <limits>
#include <vector>
namespace angle
{
const uintptr_t DirtyPointer = …;
PerfMonitorCounter::PerfMonitorCounter() = default;
PerfMonitorCounter::~PerfMonitorCounter() = default;
PerfMonitorCounterGroup::PerfMonitorCounterGroup() = default;
PerfMonitorCounterGroup::~PerfMonitorCounterGroup() = default;
uint32_t GetPerfMonitorCounterIndex(const PerfMonitorCounters &counters, const std::string &name)
{ … }
uint32_t GetPerfMonitorCounterGroupIndex(const PerfMonitorCounterGroups &groups,
const std::string &name)
{ … }
const PerfMonitorCounter &GetPerfMonitorCounter(const PerfMonitorCounters &counters,
const std::string &name)
{ … }
PerfMonitorCounter &GetPerfMonitorCounter(PerfMonitorCounters &counters, const std::string &name)
{ … }
const PerfMonitorCounterGroup &GetPerfMonitorCounterGroup(const PerfMonitorCounterGroups &groups,
const std::string &name)
{ … }
PerfMonitorCounterGroup &GetPerfMonitorCounterGroup(PerfMonitorCounterGroups &groups,
const std::string &name)
{ … }
}
std::string ArrayString(unsigned int i)
{ … }
std::string ArrayIndexString(const std::vector<unsigned int> &indices)
{ … }
size_t FormatStringIntoVector(const char *fmt, va_list vararg, std::vector<char> &outBuffer)
{ … }