Author: mdk
Date: 2008-02-11 14:47:56 -0500 (Mon, 11 Feb 2008)
New Revision: 95460
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/runtime.h
Log:
2008-02-11 Michael Dominic K. <[EMAIL PROTECTED]>
* src/runtime.h: Fixing our debug-timing routine. It reported 10x as
much
as it should... yes, our redraws are slow, but not *that* slow ;)
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2008-02-11 18:32:11 UTC (rev 95459)
+++ trunk/moon/src/ChangeLog 2008-02-11 19:47:56 UTC (rev 95460)
@@ -1,3 +1,8 @@
+2008-02-11 Michael Dominic K. <[EMAIL PROTECTED]>
+
+ * src/runtime.h: Fixing our debug-timing routine. It reported 10x as
much
+ as it should... yes, our redraws are slow, but not *that* slow ;)
+
2008-02-09 Michael Dominic K. <[EMAIL PROTECTED]>
* src/mplayer.cpp: If we have no audio devices present in the system,
Modified: trunk/moon/src/runtime.h
===================================================================
--- trunk/moon/src/runtime.h 2008-02-11 18:32:11 UTC (rev 95459)
+++ trunk/moon/src/runtime.h 2008-02-11 19:47:56 UTC (rev 95460)
@@ -34,7 +34,7 @@
#define TIMERS 0
#if TIMERS
#define STARTTIMER(id,str) TimeSpan id##_t_start = get_now(); printf ("timing
of '%s' started at %lld\n", str, id##_t_start)
-#define ENDTIMER(id,str) TimeSpan id##_t_end = get_now(); printf ("timing of
'%s' ended at %lld (%f seconds)\n", str, id##_t_end, (double)(id##_t_end -
id##_t_start) / 1000000)
+#define ENDTIMER(id,str) TimeSpan id##_t_end = get_now(); printf ("timing of
'%s' ended at %lld (%f seconds)\n", str, id##_t_end, (double)(id##_t_end -
id##_t_start) / 10000000)
#else
#define STARTTIMER(id,str)
#define ENDTIMER(id,str)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches