Phosphor
trace_buffer.h File Reference
#include <array>
#include <iterator>
#include <memory>
#include <thread>
#include <type_traits>
#include <vector>
#include <functional>
#include <gsl_p/iterator.h>
#include "phosphor/platform/core.h"
#include "trace_event.h"

Go to the source code of this file.

Classes

class  phosphor::TraceChunk
 
class  phosphor::TraceBuffer
 
class  phosphor::TraceBuffer::chunk_iterator
 
class  phosphor::TraceBuffer::chunk_iterable
 

Macros

#define PHOSPHOR_CHUNK_PAGE_COUNT   1
 

Typedefs

using phosphor::buffer_ptr = std::unique_ptr< TraceBuffer >
 
using phosphor::trace_buffer_factory = std::function< buffer_ptr(size_t generation, size_t buffer_size)>
 

Functions

PHOSPHOR_API buffer_ptr phosphor::make_fixed_buffer (size_t generation, size_t buffer_size)
 
PHOSPHOR_API buffer_ptr phosphor::make_ring_buffer (size_t generation, size_t buffer_size)
 

Detailed Description

This file is internal to the inner workings of Phosphor and is not intended for public consumption.

Typedef Documentation

using phosphor::trace_buffer_factory = typedef std::function<buffer_ptr(size_t generation, size_t buffer_size)>

Interface for a TraceBuffer factory