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
55 function createValues() {55 function createValues() {
56 for (var i =0; i < plots.length; i++) {56 for (var i =0; i < plots.length; i++) {
57 var plot = plots[i];57 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 }
58 _values.push( {65 _values.push( {
59 object: (plot["object"] !== undefined ? plot["object"] : root.object),66 object: object,
60 value: plot["prop"],67 value: value,
68 fromBinding: isBinding,
61 valueMax: 1,69 valueMax: 1,
62 numSamplesConstantMax: 0,70 numSamplesConstantMax: 0,
63 valueHistory: new Array(),71 valueHistory: new Array(),
@@ -218,7 +226,6 @@ Item { · 154 unmodified lines
218 anchors.rightMargin: -hitboxExtension226 anchors.rightMargin: -hitboxExtension
219 227
220 onClicked: {228 onClicked: {
221 print("PerfPlot clicked!")
222 resetMax();229 resetMax();
223 }230 }
224 }231 }

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