Changeset d0d8e59 in mainline


Ignore:
Timestamp:
2017-12-21T09:45:40Z (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:
dd36558
Parents:
0fbe27d
git-author:
Petr Mánek <petr.manek@…> (2017-12-21 09:44:24)
git-committer:
Petr Mánek <petr.manek@…> (2017-12-21 09:45:40)
Message:

tmon: shorter and nicer usage info

Location:
uspace/app/tmon
Files:
2 edited

Legend:

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

    r0fbe27d rd0d8e59  
    5454        {
    5555                .name = "stress-intr-in",
    56                 .description = "Stress benchmark interrupt in endpoints of a diagnostic device.",
     56                .description = "Stress benchmark interrupt in endpoints of a device.",
    5757                .action = tmon_stress_intr_in,
    5858        },
    5959        {
    6060                .name = "stress-intr-out",
    61                 .description = "Stress benchmark interrupt out endpoints of a diagnostic device.",
     61                .description = "Stress benchmark interrupt out endpoints of a device.",
    6262                .action = tmon_stress_intr_out,
    6363        },
    6464        {
    6565                .name = "stress-bulk-in",
    66                 .description = "Stress benchmark bulk in endpoints of a diagnostic device.",
     66                .description = "Stress benchmark bulk in endpoints of a device.",
    6767                .action = tmon_stress_bulk_in,
    6868        },
    6969        {
    7070                .name = "stress-bulk-out",
    71                 .description = "Stress benchmark bulk out endpoints of a diagnostic device.",
     71                .description = "Stress benchmark bulk out endpoints of a device.",
    7272                .action = tmon_stress_bulk_out,
    7373        },
  • uspace/app/tmon/test.c

    r0fbe27d rd0d8e59  
    9898        printf("Executing interrupt in stress test.\n"
    9999            "      Packet count: %d\n"
    100             "      Packet size: %ld", cycles, size);
     100            "      Packet size: %ld\n", cycles, size);
    101101
    102102        int rc = usbdiag_stress_intr_in(exch, cycles, size);
     
    113113        printf("Executing interrupt out stress test.\n"
    114114            "      Packet count: %d\n"
    115             "      Packet size: %ld", cycles, size);
     115            "      Packet size: %ld\n", cycles, size);
    116116
    117117        int rc = usbdiag_stress_intr_out(exch, cycles, size);
     
    128128        printf("Executing bulk in stress test.\n"
    129129            "      Packet count: %d\n"
    130             "      Packet size: %ld", cycles, size);
     130            "      Packet size: %ld\n", cycles, size);
    131131
    132132        int rc = usbdiag_stress_bulk_in(exch, cycles, size);
     
    143143        printf("Executing bulk out stress test.\n"
    144144            "      Packet count: %d\n"
    145             "      Packet size: %ld", cycles, size);
     145            "      Packet size: %ld\n", cycles, size);
    146146
    147147        int rc = usbdiag_stress_bulk_out(exch, cycles, size);
Note: See TracChangeset for help on using the changeset viewer.