Changes in kernel/generic/src/proc/task.c [11909ce3:40eab9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r11909ce3 r40eab9f 506 506 /* Current values of threads */ 507 507 list_foreach(task->threads, th_link, thread_t, thread) { 508 irq_spinlock_lock(&thread->lock, false); 509 508 510 /* Process only counted threads */ 509 511 if (!thread->uncounted) { … … 513 515 } 514 516 515 uret += atomic_time_read(&thread->ucycles);516 kret += atomic_time_read(&thread->kcycles);517 uret += thread->ucycles; 518 kret += thread->kcycles; 517 519 } 520 521 irq_spinlock_unlock(&thread->lock, false); 518 522 } 519 523
Note:
See TracChangeset
for help on using the changeset viewer.