Home
last modified time | relevance | path

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

/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py3453 def IdBetween(self, query, lower_id, higher_id, order): argument
3454 …ELECT id FROM samples WHERE id > " + str(lower_id) + " AND id < " + str(higher_id) + " ORDER BY id…
3460 def BinarySearchTime(self, lower_id, higher_id, target_time, get_floor): argument
3463 next_id = int((lower_id + higher_id) / 2)
3468 ok, dbid = self.IdBetween(query, next_id, higher_id, "")
3470 return str(higher_id)
3478 higher_id = next_id
3479 if higher_id <= lower_id + 1:
3480 return str(higher_id)
3485 higher_id = next_id
[all …]