MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / breathe

Method breathe

Tasks/ExportSamplesTask.cpp:27–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#define SIGDIGGER_EXPORT_SAMPLES_BREATHE_BLOCK_SIZE 0x10000
26
27void
28ExportSamplesTask::breathe(quint64 i)
29{
30 size_t size = this->data.size();
31
32 if (this->timer.elapsed() > SIGDIGGER_EXPORT_SAMPLES_BREATHE_INTERVAL_MS) {
33 this->timer.restart();
34 emit progress(
35 static_cast<qreal>(i) / static_cast<qreal>(size - 1),
36 "Saving data");
37 QCoreApplication::processEvents();
38 }
39}
40
41bool
42ExportSamplesTask::exportToMatlab(void)

Callers 3

exportToMatlabMethod · 0.95
exportToMat5Method · 0.95
exportToWavMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected