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/utils/xml.cpp | |
parent | 75c5b3d32afdb34b824daafaa6d4300b9a8ec06b (diff) | |
download | mv-2198ecc98ecc5e94f2856795065d198557387ade.tar.gz mv-2198ecc98ecc5e94f2856795065d198557387ade.tar.bz2 mv-2198ecc98ecc5e94f2856795065d198557387ade.tar.xz mv-2198ecc98ecc5e94f2856795065d198557387ade.zip |
Add more profiler labels.
Diffstat (limited to 'src/utils/xml.cpp')
-rw-r--r-- | src/utils/xml.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index 3ef99758e..176bc81ac 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -85,6 +85,7 @@ namespace XML if (Fuzzer::conditionTerminate(filename.c_str())) return; #endif + BLOCK_START("XML::Document::Document") int size = 0; char *data = nullptr; valid = true; @@ -129,6 +130,7 @@ namespace XML logger->log("Error loading %s", filename.c_str()); } mIsValid = valid; + BLOCK_END("XML::Document::Document") } Document::Document(const char *const data, const int size) : |