History

add graphs to audio stats

Zach Pomerantz committed 10 years ago

Commit 60353741 parent f5e1d4d7 files · +122 −60Browse files

Showing the changes to scripts/developer/utilities/lib/plotperf (1 of 7 files). Show all

Unified · Split

scripts/developer/utilities/lib/plotperf/PlotPerf.qml+10−3
@@ -55,9 +55,17 @@ Item { · 54 unmodified lines
5555 function createValues() {
5656 for (var i =0; i < plots.length; i++) {
5757 var plot = plots[i];
58+ var object = plot["object"] || root.object;
59+ var value = plot["prop"];
60+ var isBinding = plot["binding"];
61+ if (isBinding) {
62+ object = root.parent;
63+ value = isBinding;
64+ }
5865 _values.push( {
59− object: (plot["object"] !== undefined ? plot["object"] : root.object),
60− value: plot["prop"],
66+ object: object,
67+ value: value,
68+ fromBinding: isBinding,
6169 valueMax: 1,
6270 numSamplesConstantMax: 0,
6371 valueHistory: new Array(),
@@ -218,7 +226,6 @@ Item { · 154 unmodified lines
218226 anchors.rightMargin: -hitboxExtension
219227
220228 onClicked: {
221− print("PerfPlot clicked!")
222229 resetMax();
223230 }
224231 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t