class_docstr: The average stream CPU usage metric.
  This plugin metric works only at eval time.
  
  After the entire evaluation stream, this metric emits
  the average CPU usage on all experiences.
class_docstr_tok: ["The","average","stream","CPU","usage","metric",".","This","plugin","metric","works","only","at","eval","time",".","After","the","entire","evaluation","stream",",","this","metric","emits","the","average","CPU","usage","on","all","experiences","."]
docstr: Creates an instance of the stream CPU usage metric.
docstr_tok: ["Creates","an","instance","of","the","stream","CPU","usage","metric","."]
code: def __init__(self):
      """
      Creates an instance of the stream CPU usage metric.
      """
      super(StreamCPUUsage, self).__init__(
          reset_at="stream", emit_at="stream", mode="eval"
      )
  
imports: import os
  import warnings
  from typing import Optional, List
  from psutil import Process
  from avalanche.evaluation import Metric, PluginMetric, GenericPluginMetric
  from avalanche.evaluation.metrics import Mean
label_desc: Use image node_id 1 to create a new StreamCPUUsage object from inherited base classes: CPUPluginMetric with example: obj = StreamCPUUsage()