Changeset d0d8e59 in mainline
- Timestamp:
- 2017-12-21T09:45:40Z (7 years ago)
- 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)
- Location:
- uspace/app/tmon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/main.c
r0fbe27d rd0d8e59 54 54 { 55 55 .name = "stress-intr-in", 56 .description = "Stress benchmark interrupt in endpoints of a d iagnostic device.",56 .description = "Stress benchmark interrupt in endpoints of a device.", 57 57 .action = tmon_stress_intr_in, 58 58 }, 59 59 { 60 60 .name = "stress-intr-out", 61 .description = "Stress benchmark interrupt out endpoints of a d iagnostic device.",61 .description = "Stress benchmark interrupt out endpoints of a device.", 62 62 .action = tmon_stress_intr_out, 63 63 }, 64 64 { 65 65 .name = "stress-bulk-in", 66 .description = "Stress benchmark bulk in endpoints of a d iagnostic device.",66 .description = "Stress benchmark bulk in endpoints of a device.", 67 67 .action = tmon_stress_bulk_in, 68 68 }, 69 69 { 70 70 .name = "stress-bulk-out", 71 .description = "Stress benchmark bulk out endpoints of a d iagnostic device.",71 .description = "Stress benchmark bulk out endpoints of a device.", 72 72 .action = tmon_stress_bulk_out, 73 73 }, -
uspace/app/tmon/test.c
r0fbe27d rd0d8e59 98 98 printf("Executing interrupt in stress test.\n" 99 99 " Packet count: %d\n" 100 " Packet size: %ld ", cycles, size);100 " Packet size: %ld\n", cycles, size); 101 101 102 102 int rc = usbdiag_stress_intr_in(exch, cycles, size); … … 113 113 printf("Executing interrupt out stress test.\n" 114 114 " Packet count: %d\n" 115 " Packet size: %ld ", cycles, size);115 " Packet size: %ld\n", cycles, size); 116 116 117 117 int rc = usbdiag_stress_intr_out(exch, cycles, size); … … 128 128 printf("Executing bulk in stress test.\n" 129 129 " Packet count: %d\n" 130 " Packet size: %ld ", cycles, size);130 " Packet size: %ld\n", cycles, size); 131 131 132 132 int rc = usbdiag_stress_bulk_in(exch, cycles, size); … … 143 143 printf("Executing bulk out stress test.\n" 144 144 " Packet count: %d\n" 145 " Packet size: %ld ", cycles, size);145 " Packet size: %ld\n", cycles, size); 146 146 147 147 int rc = usbdiag_stress_bulk_out(exch, cycles, size);
Note:
See TracChangeset
for help on using the changeset viewer.