MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / append_payload

Method append_payload

DSView/pv/data/dsosnapshot.cpp:222–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void DsoSnapshot::append_payload(const sr_datafeed_dso &dso)
223{
224 std::lock_guard<std::mutex> lock(_mutex);
225
226 if (_channel_num > 0 && dso.num_samples > 0) {
227 append_data(dso.data, dso.num_samples, _instant);
228
229 // Generate the first mip-map from the data
230 if (_envelope_en)
231 append_payload_to_envelope_levels(dso.samplerate_tog);
232 }
233}
234
235void DsoSnapshot::append_data(void *data, uint64_t samples, bool instant)
236{

Callers 5

push_analogFunction · 0.45
push_logicFunction · 0.45
feed_in_logicMethod · 0.45
feed_in_dsoMethod · 0.45
feed_in_analogMethod · 0.45

Calls

no outgoing calls

Tested by 2

push_analogFunction · 0.36
push_logicFunction · 0.36