summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-22 16:55:37 +0300
committerToma┼ż Vajngerl <tomaz.vajngerl@collabora.com>2014-12-04 23:04:23 +0100
commit1e973a38a068dd4773b67fb5402c873ca90a3635 (patch)
tree8ab2c11d71eb00a1b36aa6b91fc31c728c4c7a45 /configmgr
parentc68098a42c7e01d2afb4210361838541b6833ba0 (diff)
SAL_INFO how long parseXcsXcuLayer() and parseResLayer() took
Change-Id: I1e71b8a6348301cd5b3fed0ae8b3346ae3e07d8e
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/components.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 8dcf88dbab0b..ddb4d9e2959b 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -492,7 +492,9 @@ Components::Components(
OUString type(conf.copy(i, c - i));
OUString url(conf.copy(c + 1, n - c - 1));
if ( type == "xcsxcu" ) {
+ sal_uInt32 nStartTime = osl_getGlobalTimer();
parseXcsXcuLayer(layer, url);
+ SAL_INFO("configmgr", "parseXcsXcuLayer() took " << (osl_getGlobalTimer() - nStartTime) << " ms");
layer += 2; //TODO: overflow
} else if ( type == "bundledext" )
{
@@ -518,7 +520,9 @@ Components::Components(
parseModuleLayer(layer, url);
++layer; //TODO: overflow
} else if ( type == "res" ) {
+ sal_uInt32 nStartTime = osl_getGlobalTimer();
parseResLayer(layer, url);
+ SAL_INFO("configmgr", "parseResLayer() took " << (osl_getGlobalTimer() - nStartTime) << " ms");
++layer; //TODO: overflow
} else if ( type == "user" ) {
if (url.isEmpty()) {