Changeset 7e85d2b in mainline
- Timestamp:
- 2019-01-01T17:45:11Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32236e5
- Parents:
- 980611d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/perf/perf.c
r980611d5 r7e85d2b 180 180 static int run_benchmarks(void) 181 181 { 182 unsigned int i= 0;183 unsigned int n= 0;182 unsigned int count_ok = 0; 183 unsigned int count_fail = 0; 184 184 185 185 char *failed_names = NULL; … … 190 190 printf("%s (%s)\n", benchmarks[it]->name, benchmarks[it]->desc); 191 191 if (run_benchmark(benchmarks[it])) { 192 i++;192 count_ok++; 193 193 continue; 194 194 } … … 206 206 failed_names = f; 207 207 } 208 n++; 209 } 210 211 printf("\nCompleted, %u benchmarks run, %u succeeded.\n", i + n, i); 208 count_fail++; 209 } 210 211 printf("\nCompleted, %u benchmarks run, %u succeeded.\n", 212 count_ok + count_fail, count_ok); 212 213 if (failed_names) 213 214 printf("Failed benchmarks: %s\n", failed_names); 214 215 215 return n;216 return count_fail; 216 217 } 217 218
Note:
See TracChangeset
for help on using the changeset viewer.