mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
capture: make counter value a union of int64 and double
This allows us to use the type field of the counter to specify if the counter is a double or a 64-bit integer.
This commit is contained in:
@ -1022,13 +1022,13 @@ sp_capture_writer_define_counters (SpCaptureWriter *self,
|
||||
}
|
||||
|
||||
gboolean
|
||||
sp_capture_writer_set_counters (SpCaptureWriter *self,
|
||||
gint64 time,
|
||||
gint cpu,
|
||||
GPid pid,
|
||||
const guint *counters_ids,
|
||||
const gint64 *values,
|
||||
guint n_counters)
|
||||
sp_capture_writer_set_counters (SpCaptureWriter *self,
|
||||
gint64 time,
|
||||
gint cpu,
|
||||
GPid pid,
|
||||
const guint *counters_ids,
|
||||
const SpCaptureCounterValue *values,
|
||||
guint n_counters)
|
||||
{
|
||||
SpCaptureFrameCounterSet *set;
|
||||
gsize len;
|
||||
|
||||
Reference in New Issue
Block a user