Dbg: Useful printfs for the raspi5
This commit is contained in:
@@ -524,9 +524,20 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
// Artificially create random dummy slots for testing
|
||||
context->engine.randomDummySlotFiller(context->loop);
|
||||
|
||||
// Fill un-assembled slots with dummy datagrams
|
||||
context->engine.fillUnAssembledSlotsWithDummyDgrams();
|
||||
|
||||
// Print first 4 bytes of each slot (whether assembled or not)
|
||||
if (context->engine.frameAssemblyDesc)
|
||||
{
|
||||
for (size_t i = 0; i < context->engine.frameAssemblyDesc->numSlots; ++i) {
|
||||
context->engine.printSlotBytes(i, 4);
|
||||
}
|
||||
}
|
||||
|
||||
if (context->loop.nSucceeded.load() >= context->loop.nTotal)
|
||||
{
|
||||
// Success: all or more slots succeeded
|
||||
|
||||
Reference in New Issue
Block a user