diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
commit | 5444ff60bbf81c46841827e66e72f3148edde9ff (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/doxygen.cpp | |
parent | 17c14fb5230cfc532577c32df1d10223534392d8 (diff) | |
download | Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.bz2 |
Release-1.3.2-20030708
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index d8630a7..fe2d958 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -111,6 +111,8 @@ NamespaceDef *Doxygen::globalScope = new NamespaceDef("<globalScope>",1,"<globa QDict<RefList> *Doxygen::xrefLists = new QDict<RefList>; // dictionary of cross-referenced item lists bool Doxygen::parseSourcesNeeded = FALSE; +double Doxygen::sysElapsedTime = 0.0; +QTime Doxygen::runningTime; static StringList inputFiles; static StringDict excludeNameDict(1009); // sections @@ -6072,8 +6074,6 @@ static void findMainPage(Entry *root) indexName, root->doc,title); //setFileNameForSections(root->anchors,"index",Doxygen::mainPage); Doxygen::mainPage->setFileName(indexName); - Doxygen::mainPage->addSectionsToDefinition(root->anchors); - //Doxygen::mainPage->addSections(root->anchors); // a page name is a label as well! SectionInfo *si=new SectionInfo( @@ -6082,6 +6082,7 @@ static void findMainPage(Entry *root) Doxygen::mainPage->title(), SectionInfo::Section); Doxygen::sectionDict.insert(indexName,si); + Doxygen::mainPage->addSectionsToDefinition(root->anchors); } else { @@ -7109,6 +7110,7 @@ void initDoxygen() setlocale(LC_NUMERIC,"C"); #endif + Doxygen::runningTime.start(); initPreprocessor(); Doxygen::sectionDict.setAutoDelete(TRUE); @@ -8194,5 +8196,12 @@ void generateOutput() QDir::setCurrent(oldDir); } cleanUpDoxygen(); + if (Debug::isFlagSet(Debug::Time)) + { + printf("Total elapsed time: %.3f seconds\n(of which %.3f seconds waiting for external tools to finish)\n", + ((double)Doxygen::runningTime.elapsed())/1000.0, + Doxygen::sysElapsedTime + ); + } } |