mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
Mew scope: trace memory
This commit is contained in:
parent
f86d11e2d1
commit
86279bb1ee
@ -213,6 +213,7 @@ void ScopeVisNG::processMemoryTrace()
|
||||
SampleVector::const_iterator mend = m_traceDiscreteMemory.at(m_currentTraceMemoryIndex).m_endPoint;
|
||||
SampleVector::const_iterator mbegin = mend - m_traceSize;
|
||||
SampleVector::const_iterator mbegin_tb = mbegin - m_maxTraceDelay;
|
||||
m_nbSamples = m_traceSize + m_maxTraceDelay;
|
||||
|
||||
processTraces(mbegin_tb, mbegin, true); // traceback
|
||||
processTraces(mbegin, mend, false);
|
||||
@ -658,7 +659,7 @@ bool ScopeVisNG::handleMessage(const Message& message)
|
||||
m_currentTraceMemoryIndex = memoryIndex;
|
||||
|
||||
if (m_currentTraceMemoryIndex > 0) {
|
||||
|
||||
processMemoryTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -433,7 +433,7 @@ private:
|
||||
return new MsgScopeVisNGMemoryTrace(memoryIndex);
|
||||
}
|
||||
|
||||
bool getMemoryIndex() const { return m_memoryIndex; }
|
||||
uint32_t getMemoryIndex() const { return m_memoryIndex; }
|
||||
|
||||
private:
|
||||
uint32_t m_memoryIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user