MemoryClientStartSamplingAsync Method |
Version 86.0.240
Start collecting native memory profile.
Namespace:
CefSharp.DevTools.Memory
Assembly:
CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax public Task<DevToolsMethodResponse> StartSamplingAsync(
Nullable<int> samplingInterval = null,
Nullable<bool> suppressRandomness = null
)
public:
Task<DevToolsMethodResponse^>^ StartSamplingAsync(
Nullable<int> samplingInterval = nullptr,
Nullable<bool> suppressRandomness = nullptr
)
Parameters
- samplingInterval (Optional)
- Type: SystemNullableInt32
Average number of bytes between samples. - suppressRandomness (Optional)
- Type: SystemNullableBoolean
Do not randomize intervals between samples.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also