Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -80,3 +80,11 @@ ScriptValue ScriptManagerScriptingInterface::createGarbageCollectorDebuggingObje · 79 unmodified lines | ||
| 80 | 80 | return _manager->engine()->newQObject(new TestQObject, ScriptEngine::ScriptOwnership); |
| 81 | 81 | //return _manager->engine()->newValue(1); |
| 82 | 82 | } |
| 83 | + | |
| 84 | +void ScriptManagerScriptingInterface::startProfiling() { | |
| 85 | + _manager->engine()->startProfiling(); | |
| 86 | +} | |
| 87 | + | |
| 88 | +void ScriptManagerScriptingInterface::stopProfilingAndSave() { | |
| 89 | + _manager->engine()->stopProfilingAndSave(); | |
| 90 | +} | |