A thread-safe "first N" budget: admit() returns true for the first limit calls and false afterwards, counting both.
More...
#include <gpu_diagnostics.hpp>
A thread-safe "first N" budget: admit() returns true for the first limit calls and false afterwards, counting both.
◆ LogTextBudget()
| pulp::render::LogTextBudget::LogTextBudget |
( |
std::uint64_t | limit | ) |
|
|
inlineexplicitconstexprnoexcept |
◆ admit()
| bool pulp::render::LogTextBudget::admit |
( |
| ) |
|
|
inlinenoexcept |
◆ admitted()
| std::uint64_t pulp::render::LogTextBudget::admitted |
( |
| ) |
const |
|
inlinenoexcept |
◆ suppressed()
| std::uint64_t pulp::render::LogTextBudget::suppressed |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: