mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: increase rate of buffer read
This ideally should be dynamic in the future to copy out data at a rate that keeps us around 33% usage rate so that we can still burst if we need to but keep things empty enough to not loose data.
This commit is contained in:
@ -575,7 +575,7 @@ mapped_ring_source_prepare (GSource *source,
|
||||
if (g_atomic_int_get (&header->head) != g_atomic_int_get (&header->tail))
|
||||
return TRUE;
|
||||
|
||||
*timeout_ = 1000 / 20; /* 20x a second */
|
||||
*timeout_ = 5;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user