class_docstr: Represents one run of a single Java Microbenchmark Harness
      
class_docstr_tok: ["Represents","one","run","of","a","single","Java","Microbenchmark","Harness"]
code: def normalizePerSec(self, unit):
      if unit == "ns":
          self.normalizeFactor = 1000 * 1000 * 1000
      elif unit == "us":
          self.normalizeFactor = 1000 * 1000
      elif unit == "ms":
          self.normalizeFactor = 1000
      elif unit == "min":
          self.normalizeFactor = 1 / 60
      elif unit == "hr":
          self.normalizeFactor = 1 / (60 * 60)
      elif unit == "day":
          self.normalizeFactor = 1 / (60 * 60 * 24)
      else:
          self.normalizeFactor = 1
  
imports: from itertools import filterfalse, groupby, tee
  import json
  import subprocess
  from tempfile import NamedTemporaryFile
  from .core import Benchmark
  from ..utils.command import Command
  from ..utils.maven import Maven
label_desc: Use image node_id 3 for calling the JavaMicrobenchmarkHarnessObservation obj's underlying member method code with example usage: obj.normalizePerSec(unit) without return types