Changeset 11909ce3 in mainline for kernel/generic/src/sysinfo/stats.c
- Timestamp:
- 2024-01-21T15:48:43Z (16 months ago)
- Branches:
- master
- Children:
- 515f1b1
- Parents:
- 33e15a0
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-03-29 10:25:36)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-21 15:48:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/stats.c
r33e15a0 r11909ce3 299 299 { 300 300 assert(interrupts_disabled()); 301 assert(irq_spinlock_locked(&thread->lock));302 301 303 302 stats_thread->thread_id = thread->tid; … … 305 304 stats_thread->state = atomic_get_unordered(&thread->state); 306 305 stats_thread->priority = atomic_get_unordered(&thread->priority); 307 stats_thread->ucycles = thread->ucycles;308 stats_thread->kcycles = thread->kcycles;306 stats_thread->ucycles = atomic_time_read(&thread->ucycles); 307 stats_thread->kcycles = atomic_time_read(&thread->kcycles); 309 308 310 309 cpu_t *cpu = atomic_get_unordered(&thread->cpu);
Note:
See TracChangeset
for help on using the changeset viewer.