class_docstr: Number of threads used by the process.
class_docstr_tok: ["Number","of","threads","used","by","the","process","."]
code: def clear(self) -> None:
      self.samples.clear()
  
imports: import threading
  from collections import deque
  from typing import TYPE_CHECKING, List, Optional
  from .aggregators import aggregate_last, aggregate_mean
  from .asset_registry import asset_registry
  from .interfaces import Interface, Metric, MetricsMonitor
label_desc: Use image node_id 3 for calling the ProcessCpuThreads obj's underlying member method code with example usage: obj.clear() without return types