Changeset b2ec5cf in mainline for kernel/generic/src/cpu/cpu.c
- Timestamp:
- 2023-04-15T16:47:54Z (18 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 169815e
- Parents:
- dd218ea
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-04-15 11:54:58)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-04-15 16:47:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu.c
rdd218ea rb2ec5cf 103 103 CPU->idle = false; 104 104 CPU->last_cycle = get_cycle(); 105 CPU->idle_cycles = 0;106 CPU->busy_cycles = 0;105 CPU->idle_cycles = ATOMIC_TIME_INITIALIZER(); 106 CPU->busy_cycles = ATOMIC_TIME_INITIALIZER(); 107 107 108 108 cpu_identify();
Note:
See TracChangeset
for help on using the changeset viewer.