Changeset 7a3ccbc in mainline for uspace/app/top/screen.c
- Timestamp:
- 2010-04-07T10:41:42Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a325832
- Parents:
- 36b5b0f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/top/screen.c
r36b5b0f r7a3ccbc 155 155 return; 156 156 task_info_t *taskinfo = &data->taskinfos[i]; 157 printf("%8llu %8u %8u ", taskinfo->taskid, 158 taskinfo->thread_count, taskinfo->pages); 157 uint64_t mem; 158 char suffix; 159 order(taskinfo->virt_mem, &mem, &suffix); 160 printf("%8llu %8u %8llu%c ", taskinfo->taskid, 161 taskinfo->thread_count, mem, suffix); 159 162 task_perc_t *taskperc = &data->task_perc[i]; 160 163 puts(" "); 161 print_float(taskperc-> pages, 2);164 print_float(taskperc->mem, 2); 162 165 puts("% "); 163 166 print_float(taskperc->ucycles, 2); … … 173 176 fflush(stdout); 174 177 console_set_rgb_color(fphone(stdout), WHITE, BLACK); 175 printf(" ID Threads Pages %%Pages%%uCycles %%kCycles Name");178 printf(" ID Threads Mem %%Mem %%uCycles %%kCycles Name"); 176 179 int i; 177 180 for (i = 60; i < colls; ++i)
Note:
See TracChangeset
for help on using the changeset viewer.