MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Add

Method Add

layers/sync/sync_stats.cpp:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45void Value32::Update(uint32_t new_value) { u32.store(new_value); }
46uint32_t Value32::Add(uint32_t n) { return u32.fetch_add(n) + 1; }
47uint32_t Value32::Sub(uint32_t n) { return u32.fetch_sub(n) - 1; }
48
49void Value64::Update(uint64_t new_value) { u64.store(new_value); }

Callers 15

AddQueueBatchContextMethod · 0.45
AddTimelineSignalsMethod · 0.45
AddUnresolvedBatchMethod · 0.45
AddHandleRecordMethod · 0.45
OnBarrierCommandMethod · 0.45
BufferCopyErrorMethod · 0.45
ImageClearErrorMethod · 0.45
ImageDescriptorErrorMethod · 0.45
ClearAttachmentErrorMethod · 0.45

Calls 1

atomic_fetch_maxFunction · 0.85

Tested by

no test coverage detected