Changeset 3b5a5e3 in mainline for uspace/app/tmon/main.c
- Timestamp:
- 2018-02-01T16:10:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3038d51
- Parents:
- 8393c73b
- git-author:
- Petr Manek <petr.manek@…> (2018-02-01 16:09:43)
- git-committer:
- Petr Manek <petr.manek@…> (2018-02-01 16:10:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/main.c
r8393c73b r3b5a5e3 62 62 .name = "test-intr-in", 63 63 .description = "Read from interrupt endpoint as fast as possible.", 64 .action = tmon_ burst_intr_in,64 .action = tmon_test_intr_in, 65 65 }, 66 66 { 67 67 .name = "test-intr-out", 68 68 .description = "Write to interrupt endpoint as fast as possible.", 69 .action = tmon_ burst_intr_out,69 .action = tmon_test_intr_out, 70 70 }, 71 71 { 72 72 .name = "test-bulk-in", 73 73 .description = "Read from bulk endpoint as fast as possible.", 74 .action = tmon_ burst_bulk_in,74 .action = tmon_test_bulk_in, 75 75 }, 76 76 { 77 77 .name = "test-bulk-out", 78 78 .description = "Write to bulk endpoint as fast as possible.", 79 .action = tmon_ burst_bulk_out,79 .action = tmon_test_bulk_out, 80 80 }, 81 81 { 82 82 .name = "test-isoch-in", 83 83 .description = "Read from isochronous endpoint as fast as possible.", 84 .action = tmon_ burst_isoch_in,84 .action = tmon_test_isoch_in, 85 85 }, 86 86 { 87 87 .name = "test-isoch-out", 88 88 .description = "Write to isochronous endpoint as fast as possible.", 89 .action = tmon_ burst_isoch_out,90 } 89 .action = tmon_test_isoch_out, 90 }, 91 91 }; 92 92 … … 104 104 static tmon_opt_t options[] = { 105 105 { 106 .long_name = " cycles",107 .short_name = ' n',108 .description = "Set the number of read/write cycles."106 .long_name = "duration", 107 .short_name = 't', 108 .description = "Set the minimum test duration (in seconds)." 109 109 }, 110 110 { 111 111 .long_name = "size", 112 112 .short_name = 's', 113 .description = "Set the data size transferred in a single cycle." 114 } 113 .description = "Set the data size (in bytes) transferred in a single cycle." 114 }, 115 { 116 .long_name = "validate", 117 .short_name = 'v', 118 .description = "Validate the correctness of transferred data (impacts performance)." 119 }, 115 120 }; 116 121
Note:
See TracChangeset
for help on using the changeset viewer.