Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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 Martin Decky)

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 Jakub Jermář, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset:head,378.

comment:2 by Martin Decky, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.