Changeset 64ce0c1 in mainline for uspace/app/tmon/main.c
- Timestamp:
- 2018-02-02T10:13:55Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 961a5ee
- Parents:
- e67c50a (diff), 290338b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/main.c
re67c50a r64ce0c1 64 64 .name = "test-intr-in", 65 65 .description = "Read from interrupt endpoint as fast as possible.", 66 .action = tmon_ burst_intr_in,66 .action = tmon_test_intr_in, 67 67 }, 68 68 { 69 69 .name = "test-intr-out", 70 70 .description = "Write to interrupt endpoint as fast as possible.", 71 .action = tmon_ burst_intr_out,71 .action = tmon_test_intr_out, 72 72 }, 73 73 { 74 74 .name = "test-bulk-in", 75 75 .description = "Read from bulk endpoint as fast as possible.", 76 .action = tmon_ burst_bulk_in,76 .action = tmon_test_bulk_in, 77 77 }, 78 78 { 79 79 .name = "test-bulk-out", 80 80 .description = "Write to bulk endpoint as fast as possible.", 81 .action = tmon_ burst_bulk_out,81 .action = tmon_test_bulk_out, 82 82 }, 83 83 { 84 84 .name = "test-isoch-in", 85 85 .description = "Read from isochronous endpoint as fast as possible.", 86 .action = tmon_ burst_isoch_in,86 .action = tmon_test_isoch_in, 87 87 }, 88 88 { 89 89 .name = "test-isoch-out", 90 90 .description = "Write to isochronous endpoint as fast as possible.", 91 .action = tmon_ burst_isoch_out,92 } 91 .action = tmon_test_isoch_out, 92 }, 93 93 }; 94 94 … … 106 106 static tmon_opt_t options[] = { 107 107 { 108 .long_name = " cycles",109 .short_name = ' n',110 .description = "Set the number of read/write cycles."108 .long_name = "duration", 109 .short_name = 't', 110 .description = "Set the minimum test duration (in seconds)." 111 111 }, 112 112 { 113 113 .long_name = "size", 114 114 .short_name = 's', 115 .description = "Set the data size transferred in a single cycle." 116 } 115 .description = "Set the data size (in bytes) transferred in a single cycle." 116 }, 117 { 118 .long_name = "validate", 119 .short_name = 'v', 120 .description = "Validate the correctness of transferred data (impacts performance)." 121 }, 117 122 }; 118 123
Note:
See TracChangeset
for help on using the changeset viewer.