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


Ignore:
Timestamp:
2017-12-22T11:59:20Z (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:
b7b7898
Parents:
ab8e0f5
git-author:
Petr Mánek <petr.manek@…> (2017-12-22 11:57:34)
git-committer:
Petr Mánek <petr.manek@…> (2017-12-22 11:59:20)
Message:

tmon: refactoring

Stress tests have been renamed to burst tests because they do not fit the semantic definition of a stress tests. Instead, the read/write as much data as possible into given USB pipes, hence the name burst. They can be accessed using the tmon test-(intr|bulk|isoch)-(in|out) wildcard again. Files test.(c|h), which contain testing framework definitions now, have been renamed to more apt tf.(c.h).

File:
1 edited

Legend:

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

    rab8e0f5 r2986763  
    5353        },
    5454        {
    55                 .name = "stress-intr-in",
    56                 .description = "Stress benchmark interrupt in endpoints of a device.",
    57                 .action = tmon_stress_intr_in,
     55                .name = "test-intr-in",
     56                .description = "Read from interrupt in endpoints as fast as possible.",
     57                .action = tmon_burst_intr_in,
    5858        },
    5959        {
    60                 .name = "stress-intr-out",
    61                 .description = "Stress benchmark interrupt out endpoints of a device.",
    62                 .action = tmon_stress_intr_out,
     60                .name = "test-intr-out",
     61                .description = "Write to interrupt out endpoints as fast as possible.",
     62                .action = tmon_burst_intr_out,
    6363        },
    6464        {
    65                 .name = "stress-bulk-in",
    66                 .description = "Stress benchmark bulk in endpoints of a device.",
    67                 .action = tmon_stress_bulk_in,
     65                .name = "test-bulk-in",
     66                .description = "Read from bulk in endpoints as fast as possible.",
     67                .action = tmon_burst_bulk_in,
    6868        },
    6969        {
    70                 .name = "stress-bulk-out",
    71                 .description = "Stress benchmark bulk out endpoints of a device.",
    72                 .action = tmon_stress_bulk_out,
     70                .name = "test-bulk-out",
     71                .description = "Write to bulk out endpoints as fast as possible.",
     72                .action = tmon_burst_bulk_out,
    7373        },
    7474        {
    75                 .name = "stress-isoch-in",
    76                 .description = "Stress benchmark isochronous in endpoints of a device.",
    77                 .action = tmon_stress_isoch_in,
     75                .name = "test-isoch-in",
     76                .description = "Read from isochronous in endpoints as fast as possible.",
     77                .action = tmon_burst_isoch_in,
    7878        },
    7979        {
    80                 .name = "stress-isoch-out",
    81                 .description = "Stress benchmark isochronous out endpoints of a device.",
    82                 .action = tmon_stress_isoch_out,
     80                .name = "test-isoch-out",
     81                .description = "Write to isochronouse out endpoints as fast as possible.",
     82                .action = tmon_burst_isoch_out,
    8383        },
    8484        {
Note: See TracChangeset for help on using the changeset viewer.