// Updates the handlers with expectations for a big cluster P-state change.
Updates the handlers with expectations for a big cluster P-state change.
Updates the handlers with expectations for a big cluster P - state change .
fn expect_big_pstate(&self, pstate_index: u32) {
            self.big_cluster.add_msg_response_pair((
                msg_eq!(SetPerformanceState(pstate_index)),
                msg_ok_return!(SetPerformanceState),
            ));
            let frequency = &BIG_PSTATES[pstate_index as usize].frequency;
            let float_scale = BIG_PERFORMANCE_PER_GHZ.0 * frequency.0 / 1e9;
            self.expect_performance_scale(&BIG_CPU_NUMBERS, float_scale);
        }
fn expect_big_pstate ( & self , pstate_index : u32 ) { self . big_cluster . add_msg_response_pair ( ( msg_eq ! ( SetPerformanceState ( pstate_index ) ) , msg_ok_return ! ( SetPerformanceState ) , ) ) ; let frequency = & BIG_PSTATES [ pstate_index as usize ] . frequency ; let float_scale = BIG_PERFORMANCE_PER_GHZ . 0 * frequency . 0 / 1e9 ; self . expect_performance_scale ( & BIG_CPU_NUMBERS , float_scale ) ; }
Updates the handlers with expectations for a big cluster P-state change.
Updates the handlers with expectations for a big cluster P - state change .
&self
pstate_index
u32