clearCpuSamples method

  1. @override
Future<Success> clearCpuSamples(
  1. String isolateId
)
override

Clears all CPU profiling samples.

If isolateId refers to an isolate which has exited, then the Collected Sentinel is returned.

See Success.

This method will throw a SentinelException in the case a Sentinel is returned.

Implementation

@override
Future<Success> clearCpuSamples(String isolateId) =>
    _call('clearCpuSamples', {'isolateId': isolateId});