]> code.ossystems Code Review - openembedded-core.git/commit
oe-time-dd-test.sh: add options and refactor
authorSakib Sajal <sakib.sajal@windriver.com>
Fri, 9 Jul 2021 20:53:44 +0000 (16:53 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 10 Jul 2021 21:40:12 +0000 (22:40 +0100)
commit302bc6c99226a4d050e4e454afc461a25e127632
tree8a115107e62074b46715b40265b4c4f3070f8051
parent1a0fb3c0794f4e66086e567a297b4d9379c6b8f3
oe-time-dd-test.sh: add options and refactor

Options:
-c | --count <amount>           dd (transfer) <amount> KiB of data within specified timeout to detect latency.
                                Must enable -t option.
-t | --timeout <time>           timeout in seconds for the <count> amount of data to be transferred.
-l | --log-only                 run the commands without performing the data transfer.
-h | --help                     show help

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-time-dd-test.sh