aboutsummaryrefslogtreecommitdiff
path: root/deps/uber-graph/README
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 00:35:53 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 00:35:53 -0300
commit5f01c706267c595de92406a32e7f31ef5056c2d0 (patch)
treed1e74ef54efc41ada622900fe3e2a50dee44a237 /deps/uber-graph/README
parent09fcc751ef158898c315ebc9299a0fa3a722d914 (diff)
New upstream version 2.0.3preupstream/2.0.3pre
Diffstat (limited to 'deps/uber-graph/README')
-rw-r--r--deps/uber-graph/README39
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);