Changeset 0fbe27d in mainline for uspace/app/tmon/test.c


Ignore:
Timestamp:
2017-12-21T09:43:54Z (6 years ago)
Author:
Petr Mánek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0d8e59
Parents:
d37dd3b9
git-author:
Petr Mánek <petr.manek@…> (2017-12-21 09:41:58)
git-committer:
Petr Mánek <petr.manek@…> (2017-12-21 09:43:54)
Message:

tmon: print test parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tmon/test.c

    rd37dd3b9 r0fbe27d  
    9696static int stress_intr_in(async_exch_t *exch, int cycles, size_t size)
    9797{
     98        printf("Executing interrupt in stress test.\n"
     99            "      Packet count: %d\n"
     100            "      Packet size: %ld", cycles, size);
     101
    98102        int rc = usbdiag_stress_intr_in(exch, cycles, size);
    99103        if (rc) {
     
    107111static int stress_intr_out(async_exch_t *exch, int cycles, size_t size)
    108112{
     113        printf("Executing interrupt out stress test.\n"
     114            "      Packet count: %d\n"
     115            "      Packet size: %ld", cycles, size);
     116
    109117        int rc = usbdiag_stress_intr_out(exch, cycles, size);
    110118        if (rc) {
     
    118126static int stress_bulk_in(async_exch_t *exch, int cycles, size_t size)
    119127{
     128        printf("Executing bulk in stress test.\n"
     129            "      Packet count: %d\n"
     130            "      Packet size: %ld", cycles, size);
     131
    120132        int rc = usbdiag_stress_bulk_in(exch, cycles, size);
    121133        if (rc) {
     
    129141static int stress_bulk_out(async_exch_t *exch, int cycles, size_t size)
    130142{
     143        printf("Executing bulk out stress test.\n"
     144            "      Packet count: %d\n"
     145            "      Packet size: %ld", cycles, size);
     146
    131147        int rc = usbdiag_stress_bulk_out(exch, cycles, size);
    132148        if (rc) {
Note: See TracChangeset for help on using the changeset viewer.