| 405 | } |
| 406 | |
| 407 | void LuaEngine::setProfilingEnabled(bool profilingEnabled) { |
| 408 | if (profilingEnabled != m_profilingEnabled) { |
| 409 | m_profilingEnabled = profilingEnabled; |
| 410 | m_profileEntries.clear(); |
| 411 | updateCountHook(); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | bool LuaEngine::profilingEnabled() const { |
| 416 | return m_profilingEnabled; |