Changeset 88dea9d in mainline for kernel/generic/src/time/clock.c
- Timestamp:
- 2010-04-17T16:28:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30a5470
- Parents:
- 5ba201d (diff), 95319bd (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/time/clock.c
r5ba201d r88dea9d 137 137 size_t missed_clock_ticks = CPU->missed_clock_ticks; 138 138 unsigned int i; 139 140 /* Account lost ticks to CPU usage */ 141 if (CPU->idle) { 142 ASSERT(missed_clock_ticks == 0); 143 CPU->idle_ticks++; 144 } else { 145 CPU->busy_ticks += missed_clock_ticks + 1; 146 } 147 CPU->idle = false; 139 148 140 149 /*
Note:
See TracChangeset
for help on using the changeset viewer.