class_docstr: Base protocol for individual metrics.
class_docstr_tok: ["Base","protocol","for","individual","metrics","."]
docstr: Clear the samples.
docstr_tok: ["Clear","the","samples","."]
code: def clear(self) -> None:
      """Clear the samples."""
      ...
  
imports: import datetime
  import logging
  import sys
  import threading
  from typing import TYPE_CHECKING, Any, List, Optional, TypeVar
  import psutil
label_desc: Use image node_id 2 for calling the Metric obj's underlying member method code with example usage: obj.clear() without return types