#include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <utility>
#include <vector>
#include "timemory/storage/ring_buffer.cpp"
Go to the source code of this file.
|
struct | tim::base::ring_buffer |
| Ring buffer implementation, with support for mmap as backend (Linux only). More...
|
|
struct | tim::data_storage::ring_buffer< Tp > |
| Ring buffer wrapper around tim::base::ring_buffer for data of type Tp. If the data object size is larger than the page size (typically 4KB), behavior is undefined. During initialization, one requests a minimum number of objects and the buffer will support that number of object + the remainder of the page, e.g. if a page is 1000 bytes, the object is 1 byte, and the buffer is requested to support 1500 objects, then an allocation supporting 2000 objects (i.e. 2 pages) will be created. More...
|
|
◆ TIMEMORY_RING_BUFFER_INLINE
#define TIMEMORY_RING_BUFFER_INLINE inline |