Changeset a5b5f17 in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2024-01-21T16:36:15Z (4 months ago)
- Branches:
- master
- Children:
- 1a1e124
- Parents:
- ed7e057 (diff), d23712e (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
-
kernel/generic/src/proc/task.c
red7e057 ra5b5f17 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 510 508 /* Process only counted threads */ 511 509 if (!thread->uncounted) { … … 515 513 } 516 514 517 uret += thread->ucycles;518 kret += thread->kcycles;515 uret += atomic_time_read(&thread->ucycles); 516 kret += atomic_time_read(&thread->kcycles); 519 517 } 520 521 irq_spinlock_unlock(&thread->lock, false);522 518 } 523 519
Note:
See TracChangeset
for help on using the changeset viewer.