Changeset bd48f4c in mainline for uspace/app/top/screen.c
- Timestamp:
- 2010-07-12T10:53:30Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bd11d3e
- Parents:
- c40e6ef (diff), bee2d4c (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/top/screen.c
rc40e6ef rbd48f4c 288 288 size_t i; 289 289 for (i = 0; (i < data->tasks_count) && (row < rows); i++, row++) { 290 stats_task_t *task = data->tasks + data->tasks_map[i]; 291 perc_task_t *perc = data->tasks_perc + data->tasks_map[i]; 292 290 293 uint64_t virtmem; 291 294 char virtmem_suffix; 292 order_suffix( data->tasks[i].virtmem, &virtmem, &virtmem_suffix);293 294 printf("%-8" PRIu64 " %9u %8" PRIu64 "%c ", data->tasks[i].task_id,295 data->tasks[i].threads, virtmem, virtmem_suffix);296 print_percent( data->tasks_perc[i].virtmem, 2);295 order_suffix(task->virtmem, &virtmem, &virtmem_suffix); 296 297 printf("%-8" PRIu64 " %9u %8" PRIu64 "%c ", task->task_id, 298 task->threads, virtmem, virtmem_suffix); 299 print_percent(perc->virtmem, 2); 297 300 puts(" "); 298 print_percent( data->tasks_perc[i].ucycles, 2);301 print_percent(perc->ucycles, 2); 299 302 puts(" "); 300 print_percent( data->tasks_perc[i].kcycles, 2);303 print_percent(perc->kcycles, 2); 301 304 puts(" "); 302 print_string( data->tasks[i].name);305 print_string(task->name); 303 306 304 307 screen_newline();
Note:
See TracChangeset
for help on using the changeset viewer.