summaryrefslogtreecommitdiffstats
path: root/src/message.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-07-08 20:06:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-07-08 20:06:16 (GMT)
commitaca0b88941aefecfbef3186e63049cc7fba0a11c (patch)
tree0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/message.cpp
parent509496da5e5b38aecbd91a5e20b3d695cbbef775 (diff)
downloadDoxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.zip
Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.gz
Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.bz2
Release-1.3.2-20030708
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 558bcf1..0b306fa 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -17,8 +17,11 @@
#include <stdarg.h>
#include <stdio.h>
+#include <qdatetime.h>
#include "config.h"
#include "util.h"
+#include "debug.h"
+#include "doxygen.h"
static QCString outputFormat;
static int warnFormatOrder; // 1 = $file,$line,$text
@@ -96,6 +99,10 @@ void msg(const char *fmt, ...)
{
if (!Config_getBool("QUIET"))
{
+ if (Debug::isFlagSet(Debug::Time))
+ {
+ printf("%.3f sec: ",((double)Doxygen::runningTime.elapsed())/1000.0);
+ }
va_list args;
va_start(args, fmt);
vfprintf(stdout, fmt, args);