Changeset 638927a in mainline for uspace/app/top/top.c
- Timestamp:
- 2010-04-09T11:18:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e43cdac
- Parents:
- faf38b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/top/top.c
rfaf38b2 r638927a 44 44 #include <load.h> 45 45 #include <ps.h> 46 #include <arch/barrier.h> 46 47 #include "screen.h" 47 48 #include "input.h" … … 82 83 /* Read task ids */ 83 84 target->task_count = get_tasks(&target->taskinfos); 85 86 /* Read all threads */ 87 target->thread_count = get_threads(&target->thread_infos); 84 88 85 89 /* Read cpu infos */ … … 144 148 } 145 149 150 /* Wait until coprocessor finishes its work */ 151 write_barrier(); 152 146 153 /* And free temporary structures */ 147 154 free(ucycles_diff); … … 152 159 { 153 160 free(target->taskinfos); 161 free(target->thread_infos); 154 162 free(target->cpus); 155 163 free(target->cpu_perc);
Note:
See TracChangeset
for help on using the changeset viewer.