mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use short ptr for GPU context query data.
This commit is contained in:
parent
1e4022e05b
commit
308c280e40
@ -417,9 +417,11 @@ struct GpuCtxData
|
|||||||
uint8_t accuracyBits;
|
uint8_t accuracyBits;
|
||||||
float period;
|
float period;
|
||||||
flat_hash_map<uint64_t, GpuCtxThreadData, nohash<uint64_t>> threadData;
|
flat_hash_map<uint64_t, GpuCtxThreadData, nohash<uint64_t>> threadData;
|
||||||
GpuEvent* query[64*1024];
|
short_ptr<GpuEvent> query[64*1024];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum { GpuCtxDataSize = sizeof( GpuCtxData ) };
|
||||||
|
|
||||||
struct LockMap
|
struct LockMap
|
||||||
{
|
{
|
||||||
struct TimeRange
|
struct TimeRange
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user