sub-buffer (yellow arc in the following animation) until it is full:
when this happens, the sub-buffer is marked as consumable (red) and
another, _empty_ (white) sub-buffer starts receiving the following
-events. The marked sub-buffer will be consumed eventually by a consumer
+events. The marked sub-buffer is eventually consumed by a consumer
daemon (returns to white).
<script type="text/javascript">
- document.write('<div class="img img-50" id="docsvg-channel-subbuf-anim"></div>');
+ document.write('<div class="anim img img-50" id="docsvg-channel-subbuf-anim"></div>');
$(document).ready(function() {
var doc = SVG('docsvg-channel-subbuf-anim');
doc.viewbox(0, 0, 2, 2);
- var rb = rbBuildStdAnimated(doc, {
+ var stdRb = rbBuildStdAnimated(doc, {
div: 5,
oR: 0.97,
evDur: 300,
consumerAfter: 10
});
- rb.getGroup().move(1, 1);
+ stdRb.rb.getGroup().move(1, 1);
+ rbSetParentPlayIcon(doc, function() {
+ rbStdStart(stdRb);
+ });
});
</script>
as a new event doesn't find an empty sub-buffer, whereas in discard
mode, only the event that doesn't fit is discarded.
-Also note that a count of lost events will be incremented and saved in
+Also note that a count of lost events is incremented and saved in
the trace itself when an event is lost in discard mode, whereas no
information is kept when a sub-buffer gets overwritten before being
committed.