class_docstr: Computes the average occurrence of some event per second
class_docstr_tok: ["Computes","the","average","occurrence","of","some","event","per","second"]
code: def avg(self):
      return self.n / self.elapsed_time
  
imports: import bisect
  import time
  from collections import OrderedDict
  from typing import Dict, Optional
label_desc: Use image node_id 6 for calling the TimeMeter obj's underlying member method code with example usage: obj.avg() and returns: unknown