Lines Matching refs:str
178 return str(x.quantize(Decimal(".1"), rounding=ROUND_HALF_UP))
549 " WHERE parent_call_path_id = " + str(self.call_path_id) +
550 " AND comm_id = " + str(self.comm_id) +
551 " AND thread_id = " + str(self.thread_id) +
579 self.data = [ name, dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(cyc_cnt), cyc_pcnt, ipc, str(branch_count), br_pcnt ]
581 self.data = [ name, dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
591 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", "", "", "", "", "", ""]
593 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", ""]
630 " WHERE comm_id = " + str(self.dbid))
683 match = " LIKE '" + str(s).translate(trans) + "'"
685 match = " GLOB '" + str(value) + "'"
687 match = " = '" + str(value) + "'"
792 " WHERE id = " + str(parent_id))
821 comm_thread = " AND comm_id = " + str(self.comm_id) + " AND thread_id = " + str(self.thread_id)
834 " WHERE calls.parent_id = " + str(self.calls_id) + comm_thread +
861 self.data = [ name, dso, str(call_time), str(time), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(cyc_cnt), cyc_pcnt, ipc, str(branch_count), br_pcnt ]
863 self.data = [ name, dso, str(call_time), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
873 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", "", "", "", "", "", ""]
875 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", ""]
912 " WHERE comm_id = " + str(self.dbid))
987 " WHERE id = " + str(parent_id))
1180 " WHERE comm_threads.thread_id = " + str(thread_id) +
1201 return "XY({}, {})".format(str(self.x), str(self.y))
1211 return "Subrange({}, {})".format(str(self.lo), str(self.hi))
1241 self.title = str(pid) + " / " + str(tid) + " " + comm
1243 self.ordinal = str(pid).rjust(16) + str(exec_comm_id).rjust(8) + str(tid).rjust(16)
1298 self.title = "CPU " + str(cpu)
1305 " WHERE c_thread_id = " + str(thread_id) +
1307 " AND c_time >= " + str(start_time) +
1308 " AND c_time <= " + str(end_time) +
1325 " WHERE machine_id = " + str(self.collection.machine_id) +
1326 " AND cpu = " + str(self.cpu) +
1352 QueryExec(query, "SELECT pid, tid FROM threads WHERE id = " + str(thread_id))
1360 QueryExec(query, "SELECT comm FROM comms WHERE id = " + str(comm_id))
1368 key = str(thread_id) + ":" + str(comm_id)
1424 " WHERE machine_id = " + str(self.machine_id))
1672 return " = " + str(unit) + " " + us
2279 text = "CPU: " + str(cpu)
2282 text = text + " Time: " + str(time_from) + " (+" + ToTimeStr(rel_time_from) + ")"
2311 text = " Time: " + str(time_from) + " (+" + ToTimeStr(rel_time_from) + ") to: " + str(time_to) + " (+" + ToTimeStr(rel_time_to) + ")"
2420 conn_name = "SlowInitClass" + str(os.getpid())
2445 self.collection_name = "SwitchGraphDataCollection " + str(self.machine_id)
2484 if re.search(pattern, str(column_data)) is not None:
2490 if self.value in str(column_data):
2539 conn_name = "SQLFetcher" + str(os.getpid())
2564 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2917 " WHERE samples.id = " + str(self.dbid))
2935 " WHERE samples.id > " + str(self.dbid) + " AND cpu = " + str(cpu) +
3031 ipc = str(ipc.quantize(Decimal(".01"), rounding=ROUND_HALF_UP))
3122 " AND evsel_id = " + str(self.event_id) +
3124 " LIMIT " + str(glb_chunk_sz))
3202 return str(self.where_clause + ";" + self.limit)
3211 model_name = "Branch Events " + str(event_id) + " " + report_vars.UniqueId()
3246 len = metrics.width(str(val) + mm)
3249 len = metrics.width(str(val) + mm)
3352 return str(x) == value
3394 self.value = str(value)
3415 ids.append(str(query.value(0)))
3448 placeholder_text += ", between " + str(self.first_time) + " and " + str(self.last_time)
3453 QueryExec(query, "SELECT id FROM samples WHERE id > " + str(lower_id) + " AND id < " + str(higher_id) + " ORDER BY id " + order + " LIMIT 1")
3463 QueryExec(query, "SELECT time FROM samples WHERE id = " + str(next_id))
3469 return str(higher_id)
3471 QueryExec(query, "SELECT time FROM samples WHERE id = " + str(next_id))
3479 return str(higher_id)
3486 return str(lower_id)
3507 return str(val)
3511 vrange[0] = str(self.first_time)
3513 vrange[1] = str(self.last_time)
3745 sql = "SELECT * FROM " + table_name + " WHERE id > $$last_id$$ ORDER BY id LIMIT " + str(glb_chunk_sz)
3748 sql = "SELECT * FROM " + table_name + " WHERE comm_id > $$last_id$$ ORDER BY comm_id LIMIT " + str(glb_chunk_sz)
3809 len = metrics.width(str(val) + "MM")
3812 len = metrics.width(str(val) + "MM")
3870 max_width[c] = max(max_width[c], len(str(i.data())))
3902 text += sep + ToCSValue(str(i.data()))
3907 val = str(i.data()).rjust(width)
3909 val = str(i.data())
3957 n = len(str(i.data()))
3959 n = len(str(i.data()).strip())
3994 val = str(i.data())
4060 text = str(i.data()).strip()
4307 label = str(nr) + " " + sub_window.name
4574 name += " <" + str(nr) + ">"
4948 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4954 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4960 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4966 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4973 " WHERE calls.call_time != 0 AND threads.machine_id = " + str(machine_id) +
4980 " WHERE calls.return_time != 0 AND threads.machine_id = " + str(machine_id) +