|
spla
|
Global pool with pre-allocated counters. More...
#include <cl_counter.hpp>
Public Member Functions | |
| CLCounterPool (uint pre_allocate=16) | |
| std::shared_ptr< CLCounter > | allocate () |
| void | release (std::shared_ptr< CLCounter > counter) |
Global pool with pre-allocated counters.
|
explicit |
| std::shared_ptr< CLCounter > spla::CLCounterPool::allocate | ( | ) |
| void spla::CLCounterPool::release | ( | std::shared_ptr< CLCounter > | counter | ) |