From 2198ecc98ecc5e94f2856795065d198557387ade Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Nov 2014 15:15:54 +0300 Subject: Add more profiler labels. --- src/utils/xml.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/xml.cpp') 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) : -- cgit v1.2.3-60-g2f50