Lines Matching refs:t

1285 		t = time.time()
1287 self.multitest['start'] = self.multitest['last'] = t
1291 dt = t - self.multitest['last']
1298 self.multitest['last'] = t
1572 t = float(m.group('ktime'))
1573 if t < self.start or t > self.end:
1575 dir = 'suspend' if t < self.tSuspended else 'resume'
1581 list.append((msg, err, dir, t, i, i))
1585 for msg, type, dir, t, idx1, idx2 in list:
1587 self.errorinfo[dir].append((type, t, idx1, idx2))
1769 def trimTimeVal(self, t, t0, dT, left): argument
1771 if(t > t0):
1772 if(t - dT < t0):
1774 return t - dT
1776 return t
1778 if(t < t0 + dT):
1779 if(t > t0):
1781 return t + dT
1783 return t
2136 for t in sorted(times):
2138 tlast = t
2140 if name in self.pstl[t] and self.pstl[t][name] > 0:
2143 end, key = t, (tlast, t)
2144 maxj = (t - tlast) * 1024.0
2145 cpuexec[key] = min(1.0, float(self.pstl[t][name]) / maxj)
2146 tlast = t
2159 for t in sorted(self.pstl):
2160 dir = 'sus' if t < self.tSuspended else 'res'
2161 for ps in sorted(self.pstl[t]):
2164 tdata[dir].append(t)
2284 def __init__(self, t, m='', d=''): argument
2293 self.time = float(t)
2519 t, obj = i
2521 obj.debugPrint(t)
2607 t = FTraceLine(last.time)
2608 t.depth = i
2609 t.freturn = True
2610 fixed = self.addLine(t)
2874 for t, p in myphases:
2875 if t not in self.rowlines or t not in self.rowheight:
2876 self.rowlines[t] = dict()
2877 self.rowheight[t] = dict()
2878 if p not in self.rowlines[t] or p not in self.rowheight[t]:
2879 self.rowlines[t][p] = dict()
2880 self.rowheight[t][p] = dict()
2887 self.rowlines[t][p][row] = rowheight
2888 self.rowheight[t][p][row] = rowheight * rh
2906 for t in self.rowlines:
2907 for p in self.rowlines[t]:
2909 for i in sorted(self.rowlines[t][p]):
2910 total += self.rowlines[t][p][i]
2913 if total == len(self.rowlines[t][p]):
2914 standardphases.append((t, p))
2918 for t, p in standardphases:
2919 for i in sorted(self.rowheight[t][p]):
2920 self.rowheight[t][p][i] = float(self.bodyH)/len(self.rowlines[t][p])
3298 t = FTraceLine(m_time, m_msg, m_param3)
3303 if(not t.fcall and not t.freturn and not t.fevent):
3306 if(t.startMarker()):
3309 data.setStart(t.time, t.name)
3314 if(t.endMarker()):
3315 data.setEnd(t.time, t.name)
3321 if(t.fevent):
3331 res = cg.addLine(t)
3335 testrun[testidx].ftemp[pid][-1].addLine(t)
3387 t = float(info[0])
3388 if t in data:
3389 data[t].append(info)
3391 data[t] = [info]
3394 info[3].startswith('tracing_mark_write:')) and t not in trace:
3395 trace.append(t)
3397 for t in sorted(data):
3398 first, last, blk = [], [], data[t]
3399 if len(blk) > 1 and t in trace:
3450 t = FTraceLine(m_time, m_msg, m_param3)
3455 if(not t.fcall and not t.freturn and not t.fevent):
3458 if(t.startMarker()):
3464 data.setStart(t.time, t.name)
3466 phase = data.setPhase('suspend_prepare', t.time, True)
3471 if t.type == 'tracing_mark_write':
3472 if t.name == 'CMD COMPLETE' and data.tKernRes == 0:
3473 data.tKernRes = t.time
3474 m = re.match(tp.procexecfmt, t.name)
3481 tp.multiproctime = t.time
3495 data.pstl[t.time] = proclist
3501 if(t.endMarker()):
3503 data.tKernRes = t.time
3504 data.handleEndMarker(t.time, t.name)
3510 testrun.ttemp['thaw_processes'][-1]['end'] = t.time
3514 if(t.fevent):
3515 if(t.type == 'suspend_resume'):
3517 if(re.match('(?P<name>.*) begin$', t.name)):
3519 elif(re.match('(?P<name>.*) end$', t.name)):
3523 if '[' in t.name:
3524 m = re.match('(?P<name>.*)\[.*', t.name)
3526 m = re.match('(?P<name>.*) .*', t.name)
3533 if(re.match('suspend_enter\[.*', t.name)):
3535 data.tKernSus = t.time
3538 elif(re.match('dpm_prepare\[.*', t.name)):
3542 data.tKernSus = t.time
3544 phase = data.setPhase('suspend_prepare', t.time, isbegin)
3547 elif(re.match('dpm_suspend\[.*', t.name)):
3548 phase = data.setPhase('suspend', t.time, isbegin)
3551 elif(re.match('dpm_suspend_late\[.*', t.name)):
3552 phase = data.setPhase('suspend_late', t.time, isbegin)
3555 elif(re.match('dpm_suspend_noirq\[.*', t.name)):
3556 phase = data.setPhase('suspend_noirq', t.time, isbegin)
3559 elif(re.match(tp.machinesuspend, t.name)):
3571 t.time - data.dmesg[lp]['start']
3576 data.setPhase(phase, t.time, False)
3578 data.tSuspended = t.time
3581 data.dmesg[lp]['end'] = t.time
3583 phase = data.setPhase('resume_machine', t.time, True)
3587 data.dmesg[susp]['end'] = t.time
3588 data.tSuspended = t.time
3589 data.tResumed = t.time
3592 elif(re.match('dpm_resume_noirq\[.*', t.name)):
3593 phase = data.setPhase('resume_noirq', t.time, isbegin)
3596 elif(re.match('dpm_resume_early\[.*', t.name)):
3597 phase = data.setPhase('resume_early', t.time, isbegin)
3600 elif(re.match('dpm_resume\[.*', t.name)):
3601 phase = data.setPhase('resume', t.time, isbegin)
3604 elif(re.match('dpm_complete\[.*', t.name)):
3605 phase = data.setPhase('resume_complete', t.time, isbegin)
3608 if(not data.isTraceEventOutsideDeviceCalls(pid, t.time)):
3619 testrun.ttemp[name][-1]['end'] = t.time
3623 testrun.ttemp[name].append({'begin': t.time,
3624 'end': t.time, 'pid': pid, 'loop': 0})
3629 {'begin': t.time, 'end': t.time, 'pid': pid})
3633 testrun.ttemp[name][-1]['end'] = t.time
3635 elif(t.type == 'device_pm_callback_start'):
3639 t.name);
3646 data.newAction(phase, n, pid, p, t.time, -1, drv)
3650 elif(t.type == 'device_pm_callback_end'):
3653 m = re.match('(?P<drv>.*) (?P<d>.*), err.*', t.name);
3659 dev['length'] = t.time - dev['start']
3660 dev['end'] = t.time
3662 elif(t.fkprobe):
3663 kprobename = t.type
3664 kprobedata = t.name
3668 if(t.fcall):
3676 'begin': t.time,
3685 data.tKernSus = t.time
3686 elif(t.freturn):
3692 if (t.time - e['begin']) * 1000 < sysvals.mindevlen:
3695 e['end'] = t.time
3700 data.dmesg[phase]['end'] = t.time
3701 data.tKernRes = t.time
3712 res = cg.addLine(t)
3716 testrun.ftemp[key][-1].addLine(t)
3721 data.handleEndMarker(t.time, t.name)
4124 t, f, n, p = data.initcall_debug_call(line)
4125 if t and f and n and p:
4129 t, f, l = data.initcall_debug_return(line)
4130 if t and f and l:
4807 type, t, idx1, idx2 = e
4809 right = '%f' % (((mMax-t)*100.0)/mTotal)
4850 for t in sorted(dev['cpuexec']):
4851 start, end = t
4856 color = 'rgba(255, 0, 0, %f)' % dev['cpuexec'][t]
5035 ….t {position:absolute;line-height:'+('%d'%scaleTH)+'px;pointer-events:none;top:0;height:100%;borde…