summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/fc_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/libipa/fc_queue.h')
-rw-r--r--src/ipa/libipa/fc_queue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipa/libipa/fc_queue.h b/src/ipa/libipa/fc_queue.h
index a1d13652..d70ca960 100644
--- a/src/ipa/libipa/fc_queue.h
+++ b/src/ipa/libipa/fc_queue.h
@@ -22,6 +22,9 @@ template<typename FrameContext>
class FCQueue;
struct FrameContext {
+public:
+ bool underrun = false;
+
private:
template<typename T> friend class FCQueue;
uint32_t frame;
@@ -97,6 +100,7 @@ public:
* is called before alloc() by the IPA for frame#0.
*/
init(frameContext, frame);
+ frameContext.underrun = true;
return frameContext;
}
@@ -117,6 +121,7 @@ public:
<< "Obtained an uninitialised FrameContext for " << frame;
init(frameContext, frame);
+ frameContext.underrun = true;
return frameContext;
}