Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 3 files). Show all
Unified · Split
| @@ -1284,6 +1284,7 @@ void ScriptEngine::timerFired() { · 1283 unmodified lines | |||
| 1284 | 1284 | ||
| 1285 | // call the associated JS function, if it exists | 1285 | // call the associated JS function, if it exists |
| 1286 | if (timerData.function.isValid()) { | 1286 | if (timerData.function.isValid()) { |
| 1287 | PROFILE_RANGE(script, __FUNCTION__); | ||
| 1287 | auto preTimer = p_high_resolution_clock::now(); | 1288 | auto preTimer = p_high_resolution_clock::now(); |
| 1288 | callWithEnvironment(timerData.definingEntityIdentifier, timerData.definingSandboxURL, timerData.function, timerData.function, QScriptValueList()); | 1289 | callWithEnvironment(timerData.definingEntityIdentifier, timerData.definingSandboxURL, timerData.function, timerData.function, QScriptValueList()); |
| 1289 | auto postTimer = p_high_resolution_clock::now(); | 1290 | auto postTimer = p_high_resolution_clock::now(); |