http://defect.opensolaris.org/bz/show_bug.cgi?id=4607
--- Comment #5 from Bill Holler <bill.holler at sun.com> 2008-11-20 19:02:21 --- cmt_callback_init() initializes pg callbacks pg_cb.thread_swtch and pg_cb.thread_remain. Currently PGHW_POW_IDLE uses the default thread_swtch callback cmt_ev_thread_swtch(). cmt_ev_thread_swtch() simply increments or decrements cmt_pg->cmt_utilization by 1 when the cpu becomes busy or goes idle. It looks like the best place to calculate PGHW_POW_IDLE utilization (based on C-State) would be with a new thread_swtch callback for the PGHW_POW_IDLE type. -- Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
