summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cpu/cpu-query.h
blob: fd4ac4754d14b27c071448cbc90bedad657b7fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// cpu-query.h
#pragma once
#include "cpu-base.h"

namespace gfx
{
using namespace Slang;

namespace cpu
{

class QueryPoolImpl : public QueryPoolBase
{
public:
    List<uint64_t> m_queries;
    Result init(const IQueryPool::Desc& desc);
    virtual SLANG_NO_THROW Result SLANG_MCALL
    getResult(GfxIndex queryIndex, GfxCount count, uint64_t* data) override;
};

} // namespace cpu
} // namespace gfx