summaryrefslogtreecommitdiffstats
path: root/src/message.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-07-08 20:06:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-07-08 20:06:16 (GMT)
commit5444ff60bbf81c46841827e66e72f3148edde9ff (patch)
tree0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/message.cpp
parent17c14fb5230cfc532577c32df1d10223534392d8 (diff)
downloadDoxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip
Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz
Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.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);