Opened 14 years ago

Last modified 14 years ago

#222 closed defect

CPU cycle needs to be sampled in waitq_sleep_timeout_unsafe() too — at Initial Version

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

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 head branch.

Change History (0)

Note: See TracTickets for help on using tickets.