mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
tests: use integer types
So we can catch negative values.
This commit is contained in:
@ -130,10 +130,10 @@ find_temp_allocs (SysprofCaptureReader *reader)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
g_printerr ("Allocations: %"G_GUINT64_FORMAT"\n", allocinfo.total);
|
g_printerr ("Allocations: %"G_GINT64_FORMAT"\n", allocinfo.total);
|
||||||
g_printerr (" Temporary: %"G_GUINT64_FORMAT" (%lf%%)\n",
|
g_printerr (" Temporary: %"G_GINT64_FORMAT" (%lf%%)\n",
|
||||||
allocinfo.temp, allocinfo.temp / (gdouble)allocinfo.total * 100.0);
|
allocinfo.temp, allocinfo.temp / (gdouble)allocinfo.total * 100.0);
|
||||||
g_printerr (" Leaked: %"G_GUINT64_FORMAT"\n", allocinfo.leaked);
|
g_printerr (" Leaked: %"G_GINT64_FORMAT"\n", allocinfo.leaked);
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
gint
|
||||||
|
|||||||
Reference in New Issue
Block a user