getAvailableCachedCpuSamples method

Future<AvailableCachedCpuSamples> getAvailableCachedCpuSamples()

The getAvailableCachedCpuSamples RPC is used to determine which caches of CPU samples are available. Caches are associated with individual UserTag names and are specified when DDS is started via the cachedUserTags parameter.

Implementation

Future<AvailableCachedCpuSamples> getAvailableCachedCpuSamples() async {
  if (!(await _versionCheck(1, 3))) {
    throw UnimplementedError(
      'getAvailableCachedCpuSamples requires DDS version 1.3',
    );
  }
  return _callHelper<AvailableCachedCpuSamples>(
    'getAvailableCachedCpuSamples',
  );
}