class_docstr: CPU usage of the process in percent normalized by the number of CPUs.
class_docstr_tok: ["CPU","usage","of","the","process","in","percent","normalized","by","the","number","of","CPUs","."]
code: def aggregate(self) -> dict:
      # todo: create a statistics class with helper methods to compute
      #      mean, median, min, max, etc.
      if not self.samples:
          return {}
      aggregate = aggregate_mean(self.samples)
      return {self.name: aggregate}
  
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 4 for calling the ProcessCpuPercent obj's underlying member method code with example usage: obj.aggregate() and returns: dict, dict