#222 closed defect (fixed)
CPU cycle needs to be sampled in waitq_sleep_timeout_unsafe() too
Reported by: | Jakub Jermář | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.4.3 |
Component: | helenos/kernel/generic | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description (last modified by )
There are two locations in waitq_sleep_timeout_unsafe() that emulate the scheduler() return code. Because we call get_cycle() in the real scheduler() return code, we should also call it in both of these locations.
Note that lp:~ersin/helenos/measure has this already fixed.
Please close this bug only after the fix makes it to the mainline branch.
Change History (2)
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Fixed in changeset:head,378.