spla
Public Member Functions | List of all members
spla::CLCounterPool Class Reference

Global pool with pre-allocated counters. More...

#include <cl_counter.hpp>

Public Member Functions

 CLCounterPool (uint pre_allocate=16)
 
std::shared_ptr< CLCounterallocate ()
 
void release (std::shared_ptr< CLCounter > counter)
 

Detailed Description

Global pool with pre-allocated counters.

Constructor & Destructor Documentation

◆ CLCounterPool()

spla::CLCounterPool::CLCounterPool ( uint  pre_allocate = 16)
explicit

Member Function Documentation

◆ allocate()

std::shared_ptr< CLCounter > spla::CLCounterPool::allocate ( )

◆ release()

void spla::CLCounterPool::release ( std::shared_ptr< CLCounter counter)

The documentation for this class was generated from the following files: