      ("selfdrive.tombstoned", 0),
      ("./logcatd", 0),
    ]
  
    r = 0
    dt = (last_proc.logMonoTime - first_proc.logMonoTime) / 1e9
    result = "------------------------------------------------\n"
    for proc_name, normal_cpu_usage in procs:
      try:
        first = [p for p in first_proc.procLog.procs if proc_name in p.cmdline][0]
 
</s> remove         r = 1
 </s> add         r = False </s> remove         r = 1
 </s> add         r = False </s> remove   params.put("HasAcceptedTerms", "1")
 </s> add   params.put("HasAcceptedTerms", terms_version) </s> remove from selfdrive.version import training_version
 </s> add from selfdrive.version import training_version, terms_version
  r = True
      ("selfdrive.tombstoned", 0),
      ("./logcatd", 0),
    ]
  
  r = True
    dt = (last_proc.logMonoTime - first_proc.logMonoTime) / 1e9
    result = "------------------------------------------------\n"
    for proc_name, normal_cpu_usage in procs:
      try:
        first = [p for p in first_proc.procLog.procs if proc_name in p.cmdline][0]
keep keep keep keep replace keep keep keep keep keep
 Improve CPU usage test reliability (#2002)

* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent 
selfdrive/test/test_cpu_usage.py