mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
improved debug for iBreeze crash
This commit is contained in:
parent
e7ad822b4d
commit
97a5da3c43
@ -291,8 +291,9 @@ void FlowParser::openFlow(Session *session, EventList *flow)
|
|||||||
|
|
||||||
// Make sure we won't overflow internal buffers
|
// Make sure we won't overflow internal buffers
|
||||||
if (m_samples > max_filter_buf_size_entries) {
|
if (m_samples > max_filter_buf_size_entries) {
|
||||||
qDebug() << "Error: Sample size exceeds max_filter_buf_size_entries in FlowParser::openFlow().. Capping!!! "
|
qDebug() << "Error: Sample size exceeds max_filter_buf_size_entries in FlowParser::openFlow().. Capping!!! \n"
|
||||||
<< QDateTime::fromMSecsSinceEpoch(session->realFirst()).toString();
|
<< QDateTime::fromMSecsSinceEpoch(session->realFirst()).toString()
|
||||||
|
<< " " << m_samples << " > " << max_filter_buf_size_entries; ;
|
||||||
m_samples = max_filter_buf_size_entries;
|
m_samples = max_filter_buf_size_entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ bool operator<(const BreathPeak &p1, const BreathPeak &p2);
|
|||||||
|
|
||||||
const int num_filter_buffers = 2;
|
const int num_filter_buffers = 2;
|
||||||
|
|
||||||
const int max_filter_buf_size_entries = 2097152 ;
|
const int max_filter_buf_size_entries = 0x20C000 ; // was 2097152 == 0x200000;
|
||||||
const int max_filter_buf_size_malloc = max_filter_buf_size_entries * sizeof(EventDataType);
|
const int max_filter_buf_size_malloc = max_filter_buf_size_entries * sizeof(EventDataType);
|
||||||
|
|
||||||
//! \brief Class to process Flow Rate waveform data
|
//! \brief Class to process Flow Rate waveform data
|
||||||
|
Loading…
Reference in New Issue
Block a user