diff options
Diffstat (limited to 'deps/uber-graph/README')
-rw-r--r-- | deps/uber-graph/README | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/deps/uber-graph/README b/deps/uber-graph/README new file mode 100644 index 00000000..e9a95ab1 --- /dev/null +++ b/deps/uber-graph/README @@ -0,0 +1,39 @@ +This is Christian Hergert's "Uber-Graph" +after commit d31c8014d8cc9f293dfecfcb4bd6a7bf4d61c0be. +https://gitlab.gnome.org/chergert/uber-graph +File headers give LGPL2 as the license. + +Original README follows: + +Some of this code is good. Some of this code is very bad. It is a prototype, +nothing more, nothing less. + +Particularly bad/nasty/unreadable code is in main.c. It is also Linux specific. + +UberGraph - A realtime graph similar to that found in Gnome System Monitor. + However, it is much faster and smoother. It runs at a higher + framerate with less X bandwidth. + + It uses multiple pixmaps on the server-side and shifts data between + them to lower the X bandwidth. New data is rendered and clipped so + that the transfer is small. If frame movement is < 1 pixel, the + framerate is dynamically reduced. + +UberHeatMap - This is going to eventually be similar to UberGraph but as a + heat map. It's not very far yet, however. + +GRing - A small circular buffer meant for values in the realtime graphs. This + is most definitely not meant to be used as a byte buffer, so don't use + it as such. + + Example: + + GRing *ring = g_ring_sized_new(sizeof(gdouble), 60, NULL); + + or + + static void free_array_func (gpointer data) { + GArray **ar = data; + g_array_unref(*ar); + } + GRing *ring = g_ring_sized_new(sizeof(GArray*), 60, free_array_func); |