From 0732be88d054db33fa0ca479eab9988c8e6be42e Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Wed, 13 Oct 2004 08:57:08 +0000 Subject: Load /tmp/tmp.zzO3vU/libxml2-2.6.14 into packages/libxml2/branches/upstream/current. --- xmllint.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'xmllint.c') diff --git a/xmllint.c b/xmllint.c index a72fcca..9b4d695 100644 --- a/xmllint.c +++ b/xmllint.c @@ -1236,8 +1236,20 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) { */ if (copy) { tmp = doc; + if (timing) { + startTimer(); + } doc = xmlCopyDoc(doc, 1); + if (timing) { + endTimer("Copying"); + } + if (timing) { + startTimer(); + } xmlFreeDoc(tmp); + if (timing) { + endTimer("Freeing original"); + } } #endif /* LIBXML_TREE_ENABLED */ -- cgit v1.2.3