Phi: expose profiler-start/profiler-stop commands
This commit is contained in:
parent
f4830030bf
commit
eea0f43b80
1 changed files with 8 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue