Author: zoltan
Date: 2005-10-10 08:23:36 -0400 (Mon, 10 Oct 2005)
New Revision: 51511
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/profiler.c
Log:
2005-10-10 Zoltan Varga <[EMAIL PROTECTED]>
* profiler.c (output_newobj_profile): Fix printing of Total memory
on x86.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2005-10-10 11:38:02 UTC (rev 51510)
+++ trunk/mono/mono/metadata/ChangeLog 2005-10-10 12:23:36 UTC (rev 51511)
@@ -1,3 +1,8 @@
+2005-10-10 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * profiler.c (output_newobj_profile): Fix printing of Total memory
+ on x86.
+
2005-10-08 Zoltan Varga <[EMAIL PROTECTED]>
* profiler.c: Add support for allocations > 2GB. Fixes #74886.
Modified: trunk/mono/mono/metadata/profiler.c
===================================================================
--- trunk/mono/mono/metadata/profiler.c 2005-10-10 11:38:02 UTC (rev 51510)
+++ trunk/mono/mono/metadata/profiler.c 2005-10-10 12:23:36 UTC (rev 51511)
@@ -881,7 +881,7 @@
/* callers */
output_callers (mp);
}
- g_print ("Total memory allocated: %" G_GUINT64_FORMAT " KB\n",
(long)(total / 1024));
+ g_print ("Total memory allocated: %" G_GUINT64_FORMAT " KB\n", total /
1024);
}
static void
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches