Lines Matching refs:str
179 return str(x.quantize(Decimal(".1"), rounding=ROUND_HALF_UP))
550 " WHERE parent_call_path_id = " + str(self.call_path_id) +
551 " AND comm_id = " + str(self.comm_id) +
552 " AND thread_id = " + str(self.thread_id) +
580 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 ]
582 self.data = [ name, dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
592 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", "", "", "", "", "", ""]
594 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", ""]
631 " WHERE comm_id = " + str(self.dbid))
684 match = " LIKE '" + str(s).translate(trans) + "'"
686 match = " GLOB '" + str(value) + "'"
688 match = " = '" + str(value) + "'"
793 " WHERE id = " + str(parent_id))
822 comm_thread = " AND comm_id = " + str(self.comm_id) + " AND thread_id = " + str(self.thread_id)
835 " WHERE calls.parent_id = " + str(self.calls_id) + comm_thread +
862 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 ]
864 self.data = [ name, dso, str(call_time), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
874 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", "", "", "", "", "", ""]
876 self.data = [str(pid) + ":" + str(tid), "", "", "", "", "", ""]
913 " WHERE comm_id = " + str(self.dbid))
988 " WHERE id = " + str(parent_id))
1181 " WHERE comm_threads.thread_id = " + str(thread_id) +
1202 return "XY({}, {})".format(str(self.x), str(self.y))
1212 return "Subrange({}, {})".format(str(self.lo), str(self.hi))
1242 self.title = str(pid) + " / " + str(tid) + " " + comm
1244 self.ordinal = str(pid).rjust(16) + str(exec_comm_id).rjust(8) + str(tid).rjust(16)
1299 self.title = "CPU " + str(cpu)
1306 " WHERE c_thread_id = " + str(thread_id) +
1308 " AND c_time >= " + str(start_time) +
1309 " AND c_time <= " + str(end_time) +
1326 " WHERE machine_id = " + str(self.collection.machine_id) +
1327 " AND cpu = " + str(self.cpu) +
1353 QueryExec(query, "SELECT pid, tid FROM threads WHERE id = " + str(thread_id))
1361 QueryExec(query, "SELECT comm FROM comms WHERE id = " + str(comm_id))
1369 key = str(thread_id) + ":" + str(comm_id)
1425 " WHERE machine_id = " + str(self.machine_id))
1673 return " = " + str(unit) + " " + us
2280 text = "CPU: " + str(cpu)
2283 text = text + " Time: " + str(time_from) + " (+" + ToTimeStr(rel_time_from) + ")"
2312 text = " Time: " + str(time_from) + " (+" + ToTimeStr(rel_time_from) + ") to: " + str(time_to) + " (+" + ToTimeStr(rel_time_to) + ")"
2421 conn_name = "SlowInitClass" + str(os.getpid())
2446 self.collection_name = "SwitchGraphDataCollection " + str(self.machine_id)
2485 if re.search(pattern, str(column_data)) is not None:
2491 if self.value in str(column_data):
2540 conn_name = "SQLFetcher" + str(os.getpid())
2565 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2918 " WHERE samples.id = " + str(self.dbid))
2936 " WHERE samples.id > " + str(self.dbid) + " AND cpu = " + str(cpu) +
3032 ipc = str(ipc.quantize(Decimal(".01"), rounding=ROUND_HALF_UP))
3123 " AND evsel_id = " + str(self.event_id) +
3125 " LIMIT " + str(glb_chunk_sz))
3203 return str(self.where_clause + ";" + self.limit)
3212 model_name = "Branch Events " + str(event_id) + " " + report_vars.UniqueId()
3247 len = metrics.width(str(val) + mm)
3250 len = metrics.width(str(val) + mm)
3353 return str(x) == value
3395 self.value = str(value)
3416 ids.append(str(query.value(0)))
3449 placeholder_text += ", between " + str(self.first_time) + " and " + str(self.last_time)
3454 QueryExec(query, "SELECT id FROM samples WHERE id > " + str(lower_id) + " AND id < " + str(higher_id) + " ORDER BY id " + order + " LIMIT 1")
3464 QueryExec(query, "SELECT time FROM samples WHERE id = " + str(next_id))
3470 return str(higher_id)
3472 QueryExec(query, "SELECT time FROM samples WHERE id = " + str(next_id))
3480 return str(higher_id)
3487 return str(lower_id)
3508 return str(val)
3512 vrange[0] = str(self.first_time)
3514 vrange[1] = str(self.last_time)
3746 sql = "SELECT * FROM " + table_name + " WHERE id > $$last_id$$ ORDER BY id LIMIT " + str(glb_chunk_sz)
3749 sql = "SELECT * FROM " + table_name + " WHERE comm_id > $$last_id$$ ORDER BY comm_id LIMIT " + str(glb_chunk_sz)
3810 len = metrics.width(str(val) + "MM")
3813 len = metrics.width(str(val) + "MM")
3871 max_width[c] = max(max_width[c], len(str(i.data())))
3903 text += sep + ToCSValue(str(i.data()))
3908 val = str(i.data()).rjust(width)
3910 val = str(i.data())
3958 n = len(str(i.data()))
3960 n = len(str(i.data()).strip())
3995 val = str(i.data())
4061 text = str(i.data()).strip()
4308 label = str(nr) + " " + sub_window.name
4575 name += " <" + str(nr) + ">"
4861 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4867 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4873 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4879 " WHERE time != 0 AND machine_id = " + str(machine_id) +
4886 " WHERE calls.call_time != 0 AND threads.machine_id = " + str(machine_id) +
4893 " WHERE calls.return_time != 0 AND threads.machine_id = " + str(machine_id) +