Changeset 1abcf1d in mainline for uspace/dist/src/c/demos/top/screen.c
- Timestamp:
- 2018-04-10T19:43:21Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a69d42e
- Parents:
- 9fa14d8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/top/screen.c
r9fa14d8d r1abcf1d 120 120 sysarg_t i; 121 121 for (i = c + 1; i < cols; i++) 122 puts(" ");122 fputs(" ", stdout); 123 123 124 124 if (r + 1 < rows) 125 puts(" \n");125 puts(""); 126 126 } 127 127 … … 187 187 size_t i; 188 188 for (i = 0; i < data->load_count; i++) { 189 puts(" ");189 fputs(" ", stdout); 190 190 stats_print_load_fragment(data->load[i], 2); 191 191 } … … 259 259 data->cpus[i].id, data->cpus[i].frequency_mhz, 260 260 busy, busy_suffix, idle, idle_suffix); 261 puts(", idle: ");261 fputs(", idle: ", stdout); 262 262 print_percent(data->cpus_perc[i].idle, 2); 263 puts(", busy: ");263 fputs(", busy: ", stdout); 264 264 print_percent(data->cpus_perc[i].busy, 2); 265 265 } else … … 361 361 int width = table->columns[i].width; 362 362 if (i != 0) { 363 puts(" ");363 fputs(" ", stdout); 364 364 } 365 365 if (width == 0) { … … 395 395 396 396 if (column_index != 0) { 397 puts(" ");397 fputs(" ", stdout); 398 398 } 399 399
Note:
See TracChangeset
for help on using the changeset viewer.