summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-02-15 11:36:13 (GMT)
committerMarius Kintel <marius@kintel.net>2012-02-15 11:36:13 (GMT)
commit6845399e497726958d51170f906474e2624848c4 (patch)
treee842debcc9b527ad6aeb411c7f36e0963731f84f /src/mainwin.cc
parent7b9b798fdcc507a581735ceb3396a53d0ce71652 (diff)
Print info about module cache size
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 688d935..3708013 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -650,9 +650,6 @@ void MainWindow::compile(bool reload, bool procevents)
// Dump the tree (to initialize caches).
// FIXME: We shouldn't really need to do this explicitly..
this->tree.getString(*this->root_node);
-
- PRINT("Compilation finished.");
- if (procevents) QApplication::processEvents();
}
}
@@ -1049,7 +1046,10 @@ void MainWindow::compileTopLevelDocument(bool reload)
}
}
- if (this->root_module) this->root_module->handleDependencies();
+ if (this->root_module) {
+ this->root_module->handleDependencies();
+ PRINTB("Module cache size: %d modules", ModuleCache::instance()->size());
+ }
}
void MainWindow::checkAutoReload()
contact: Jan Huwald // Impressum