diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-22 16:55:37 +0300 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-12-04 23:04:23 +0100 |
commit | 1e973a38a068dd4773b67fb5402c873ca90a3635 (patch) | |
tree | 8ab2c11d71eb00a1b36aa6b91fc31c728c4c7a45 /configmgr | |
parent | Bin duplicates (diff) | |
download | core-1e973a38a068dd4773b67fb5402c873ca90a3635.tar.gz core-1e973a38a068dd4773b67fb5402c873ca90a3635.zip |
SAL_INFO how long parseXcsXcuLayer() and parseResLayer() took
Change-Id: I1e71b8a6348301cd5b3fed0ae8b3346ae3e07d8e
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/components.cxx | 4 |
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()) { |