Lines Matching +full:1 +full:d +full:- +full:histogram
2 # SPDX-License-Identifier: GPL-2.0
27 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
115 # to show the histogram in real number, but use a log2 algorithm.
120 snum = '#' * (int)(math.log(num, 2) + 1)
128 print("There is %d records in gen_events table" % t[0])
135 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)")
136 print("\n%16s %8s %16s\n%s" % ("comm", "number", "histogram", "="*42))
138 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1])))
141 print("\n%32s %8s %16s\n%s" % ("symbol", "number", "histogram", "="*58))
142 …con.execute("select symbol, count(symbol) from gen_events group by symbol order by -count(symbol)")
144 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))
147 print("\n%40s %8s %16s\n%s" % ("dso", "number", "histogram", "="*74))
148 … dsoq = con.execute("select dso, count(dso) from gen_events group by dso order by -count(dso)")
150 print("%40s %8d %s" % (row[0], row[1], num2sym(row[1])))
161 print("There is %d records in pebs_ll table" % t[0])
168 … commq = con.execute("select comm, count(comm) from pebs_ll group by comm order by -count(comm)")
169 print("\n%16s %8s %16s\n%s" % ("comm", "number", "histogram", "="*42))
171 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1])))
174 print("\n%32s %8s %16s\n%s" % ("symbol", "number", "histogram", "="*58))
175 …symbolq = con.execute("select symbol, count(symbol) from pebs_ll group by symbol order by -count(s…
177 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))
180 dseq = con.execute("select dse, count(dse) from pebs_ll group by dse order by -count(dse)")
181 print("\n%32s %8s %16s\n%s" % ("dse", "number", "histogram", "="*58))
183 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))
187 print("\n%32s %8s %16s\n%s" % ("latency", "number", "histogram", "="*58))
189 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))