Function js::jsapi::SetStopwatchIsMonitoringCPOW [] [src]

pub unsafe extern "C" fn SetStopwatchIsMonitoringCPOW(
    arg1: *mut JSRuntime,
    arg2: bool
) -> bool

Turn on/off stopwatch-based CPU monitoring.

SetStopwatchIsMonitoringCPOW or SetStopwatchIsMonitoringJank may return false if monitoring could not be activated, which may happen if we are out of memory.