Ignore:
Timestamp:
2024-01-21T15:48:43Z (4 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
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)
Message:

Make thread cycle statistics atomic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/thread.h

    r33e15a0 r11909ce3  
    147147
    148148        /** Thread accounting. */
    149         uint64_t ucycles;
    150         uint64_t kcycles;
     149        atomic_time_stat_t ucycles;
     150        atomic_time_stat_t kcycles;
    151151        /** Last sampled cycle. */
    152152        uint64_t last_cycle;
Note: See TracChangeset for help on using the changeset viewer.