Home
last modified time | relevance | path

Searched refs:dT (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/tools/power/pm-graph/
Dsleepgraph.py1749 def trimTimeVal(self, t, t0, dT, left): argument
1752 if(t - dT < t0):
1754 return t - dT
1758 if(t < t0 + dT):
1760 return t0 + dT
1761 return t + dT
1764 def trimTime(self, t0, dT, left): argument
1765 self.tSuspended = self.trimTimeVal(self.tSuspended, t0, dT, left)
1766 self.tResumed = self.trimTimeVal(self.tResumed, t0, dT, left)
1767 self.start = self.trimTimeVal(self.start, t0, dT, left)
[all …]