mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: read double value for counter
This commit is contained in:
@ -96,7 +96,7 @@ main (int argc,
|
||||
for (guint j = 0; j < n_values; j++)
|
||||
{
|
||||
gint64 t;
|
||||
double v = sysprof_document_counter_get_value_int64 (counter, j, &t);
|
||||
double v = sysprof_document_counter_get_value_double (counter, j, &t);
|
||||
|
||||
g_print (" %03u: %"G_GINT64_FORMAT": %lf\n", j, t, v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user