| 25 | #define SIGDIGGER_EXPORT_SAMPLES_BREATHE_BLOCK_SIZE 0x10000 |
| 26 | |
| 27 | void |
| 28 | ExportSamplesTask::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 | |
| 41 | bool |
| 42 | ExportSamplesTask::exportToMatlab(void) |
no test coverage detected