Changeset fd312d5 in mainline for uspace/app/tmon/main.c


Ignore:
Timestamp:
2017-12-20T16:06:56Z (8 years ago)
Author:
Petr Mánek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cec130b
Parents:
f98f4b7
Message:

usbdiag: more robust testing framework, added bulk in stress test, refactored remote usbdiag interface, new command for tmon

File:
1 edited

Legend:

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

    rf98f4b7 rfd312d5  
    4040#define NAME "tmon"
    4141
    42 static int fallback(int argc, char *argv[])
    43 {
    44         // FIXME
    45         printf(NAME ": Not implemented, lol!\n");
    46         return 1;
    47 }
    48 
    4942typedef struct {
    5043        const char *name;
     
    6053        },
    6154        {
    62                 .name = "test-bulk",
    63                 .description = "Benchmark bulk endpoints of a diagnostic device.",
    64                 .action = tmon_test_bulk,
     55                .name = "stress-bulk-in",
     56                .description = "Stress benchmark bulk in endpoints of a diagnostic device.",
     57                .action = tmon_stress_bulk_in,
    6558        },
    6659        {
    67                 .name = "test-intr",
    68                 .description = "Benchmark interrupt endpoints of a diagnostic device.",
    69                 .action = fallback,
    70         },
    71         {
    72                 .name = "test-isoch",
    73                 .description = "Benchmark isochronous endpoints of a diagnostic device.",
    74                 .action = fallback,
     60                .name = "stress-bulk-out",
     61                .description = "Benchmark bulk out endpoints of a diagnostic device.",
     62                .action = tmon_stress_bulk_out,
    7563        },
    7664        {
Note: See TracChangeset for help on using the changeset viewer.