Home
last modified time | relevance | path

Searched refs:MemoryTrackerSettings (Results 1 – 1 of 1) sorted by relevance

/third_party/vulkan-loader/tests/
Dloader_alloc_callback_tests.cpp32 struct MemoryTrackerSettings { struct
33 MemoryTrackerSettings() = default;
34MemoryTrackerSettings(bool should_fail_on_allocation, size_t fail_after_allocations, bool should_f… in MemoryTrackerSettings() argument
48 MemoryTrackerSettings settings{}; argument
155 MemoryTracker(MemoryTrackerSettings settings) noexcept : settings(settings) { in MemoryTracker()
167 MemoryTracker() noexcept : MemoryTracker(MemoryTrackerSettings{}) {} in MemoryTracker()
173 void update_settings(MemoryTrackerSettings new_settings) noexcept { settings = new_settings; } in update_settings()
425 MemoryTracker tracker(MemoryTrackerSettings{false, 0, true, fail_index}); in TEST()
460 MemoryTracker tracker(MemoryTrackerSettings{false, 0, true, fail_index}); in TEST()
523 MemoryTracker tracker(MemoryTrackerSettings{false, 0, true, fail_index}); in TEST()
[all …]