diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-25 15:15:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-25 15:15:54 +0300 |
commit | 2198ecc98ecc5e94f2856795065d198557387ade (patch) | |
tree | 873858ffceb4b6e62f441597860224b9fa3a6207 /src/effectmanager.cpp | |
parent | 75c5b3d32afdb34b824daafaa6d4300b9a8ec06b (diff) | |
download | manaplus-2198ecc98ecc5e94f2856795065d198557387ade.tar.gz manaplus-2198ecc98ecc5e94f2856795065d198557387ade.tar.bz2 manaplus-2198ecc98ecc5e94f2856795065d198557387ade.tar.xz manaplus-2198ecc98ecc5e94f2856795065d198557387ade.zip |
Add more profiler labels.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r-- | src/effectmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp index 8cc987e6e..d72824822 100644 --- a/src/effectmanager.cpp +++ b/src/effectmanager.cpp @@ -86,6 +86,7 @@ bool EffectManager::trigger(const int id, Being *const being, if (!being || !particleEngine) return false; + BLOCK_START("EffectManager::trigger") bool rValue = false; FOR_EACH (std::vector<EffectDescription>::const_iterator, i, mEffects) { @@ -106,6 +107,7 @@ bool EffectManager::trigger(const int id, Being *const being, break; } } + BLOCK_END("EffectManager::trigger") return rValue; } |