The bandwidth tester now tests bandwidth in both directions. It looks like my

default USB port only gets about 500kB/s write bandwidth. However, when plugged
into a port with 850kB/s, I still get underrun errors...
This commit is contained in:
David Given
2020-02-17 23:58:40 +01:00
parent edc56d44d6
commit 1a6c6b5420
7 changed files with 343 additions and 261 deletions

View File

@@ -8,7 +8,8 @@ extern int usbGetVersion();
extern void usbRecalibrate();
extern void usbSeek(int track);
extern nanoseconds_t usbGetRotationalPeriod();
extern void usbTestBulkTransport();
extern void usbTestBulkWrite();
extern void usbTestBulkRead();
extern Bytes usbRead(int side, bool synced, nanoseconds_t readTime);
extern void usbWrite(int side, const Bytes& bytes);
extern void usbErase(int side);