1
0
Fork 0

Phi: expose profiler-start/profiler-stop commands

This commit is contained in:
Torsten Dreyer 2015-09-15 18:06:19 +02:00
parent f4830030bf
commit eea0f43b80

View file

@ -170,6 +170,14 @@
this.sendCommand("clear-metar", this.oneArg("path", path)); this.sendCommand("clear-metar", this.oneArg("path", path));
}, },
profilerStart : function(filename) {
this.sendCommand("profiler-start", filename ? this.oneArg("filename", filename) : null );
},
profilerStop : function() {
this.sendCommand("profiler-stop");
},
// not really commands, but very useful to get/set a single properties // not really commands, but very useful to get/set a single properties
// value // value
getPropertyValue : function(path, callback, context) { getPropertyValue : function(path, callback, context) {