EmulationClientSetCPUThrottlingRateAsync Method |
Version 88.2.90
Enables CPU throttling to emulate slow CPUs.
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax public Task<DevToolsMethodResponse> SetCPUThrottlingRateAsync(
long rate
)
public:
Task<DevToolsMethodResponse^>^ SetCPUThrottlingRateAsync(
long long rate
)
Parameters
- rate
- Type: SystemInt64
Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also