#include <segment.hpp>
Definition at line 59 of file segment.hpp.
pv::data::Segment::Segment |
( |
uint32_t |
segment_id, |
|
|
uint64_t |
samplerate, |
|
|
unsigned int |
unit_size |
|
) |
| |
pv::data::Segment::~Segment |
( |
| ) |
|
|
virtual |
void pv::data::Segment::append_samples |
( |
void * |
data, |
|
|
uint64_t |
samples |
|
) |
| |
|
protected |
void pv::data::Segment::append_single_sample |
( |
void * |
data | ) |
|
|
protected |
void pv::data::Segment::completed |
( |
| ) |
|
|
signal |
void pv::data::Segment::continue_sample_iteration |
( |
SegmentDataIterator * |
it, |
|
|
uint64_t |
increase |
|
) |
| |
|
protected |
void pv::data::Segment::free_unused_memory |
( |
| ) |
|
const uint8_t * pv::data::Segment::get_raw_sample |
( |
uint64_t |
sample_num | ) |
const |
|
protected |
void pv::data::Segment::get_raw_samples |
( |
uint64_t |
start, |
|
|
uint64_t |
count, |
|
|
uint8_t * |
dest |
|
) |
| const |
|
protected |
uint64_t pv::data::Segment::get_sample_count |
( |
| ) |
const |
bool pv::data::Segment::is_complete |
( |
| ) |
const |
double pv::data::Segment::samplerate |
( |
| ) |
const |
uint32_t pv::data::Segment::segment_id |
( |
| ) |
const |
void pv::data::Segment::set_complete |
( |
| ) |
|
void pv::data::Segment::set_samplerate |
( |
double |
samplerate | ) |
|
unsigned int pv::data::Segment::unit_size |
( |
| ) |
const |
friend struct SegmentTest::MaxSize32Multi |
|
friend |
friend struct SegmentTest::MaxSize32MultiAtOnce |
|
friend |
friend struct SegmentTest::MaxSize32MultiIterated |
|
friend |
friend struct SegmentTest::MaxSize32Single |
|
friend |
friend struct SegmentTest::MaxSize8Single |
|
friend |
friend struct SegmentTest::MediumSize24Single |
|
friend |
friend struct SegmentTest::MediumSize32Multi |
|
friend |
friend struct SegmentTest::MediumSize32Single |
|
friend |
friend struct SegmentTest::MediumSize8Single |
|
friend |
friend struct SegmentTest::SmallSize8Single |
|
friend |
uint64_t pv::data::Segment::chunk_size_ |
|
protected |
uint8_t* pv::data::Segment::current_chunk_ |
|
protected |
deque<uint8_t*> pv::data::Segment::data_chunks_ |
|
protected |
bool pv::data::Segment::is_complete_ |
|
protected |
int pv::data::Segment::iterator_count_ |
|
protected |
const uint64_t pv::data::Segment::MaxChunkSize = 10 * 1024 * 1024 |
|
staticprivate |
bool pv::data::Segment::mem_optimization_requested_ |
|
protected |
recursive_mutex pv::data::Segment::mutex_ |
|
mutableprotected |
atomic<uint64_t> pv::data::Segment::sample_count_ |
|
protected |
double pv::data::Segment::samplerate_ |
|
protected |
uint32_t pv::data::Segment::segment_id_ |
|
protected |
unsigned int pv::data::Segment::unit_size_ |
|
protected |
uint64_t pv::data::Segment::unused_samples_ |
|
protected |
uint64_t pv::data::Segment::used_samples_ |
|
protected |
The documentation for this class was generated from the following files: