BabbleSim / ext_2G4_phy_v1

2.4GHz physical layer simulation component
4 stars 7 forks source link

dump: Flush dump data buffer #2

Closed MariuszSkamra closed 3 years ago

MariuszSkamra commented 3 years ago

To avoid stream buffering, flush to write all of the data to the dump file immediately. As the dumps are used for testing purposes it is crucial to avoid waiting for buffer to fill up while debugging the application.

Signed-off-by: Mariusz Skamra mariusz.skamra@codecoup.pl

MariuszSkamra commented 3 years ago

@aescolar @thoh-ot Thank you for your suggestion, yes 10% is quite a lot, and it's significant running all the test cases. I will try your solution. @aescolar Do you want me to update this PR or you want to push the change?

aescolar commented 3 years ago

@aescolar Do you want me to update this PR or you want to push the change?

Please do the update :)

aescolar commented 3 years ago

@MariuszSkamra : I guess you checked that the new EDTT tests live-read-of-the-dumps hook works with this change? :)