[Gridflow-cvs] [svn] commit: r6685 - in /trunk: abstractions/memstat.pd tests/memstat-test.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Feb 28 18:06:12 EST 2011


Author: matju
Date: Mon Feb 28 18:06:10 2011
New Revision: 6685

Log:
working prototype

Modified:
    trunk/abstractions/memstat.pd
    trunk/tests/memstat-test.pd

Modified: trunk/abstractions/memstat.pd
==============================================================================
--- trunk/abstractions/memstat.pd (original)
+++ trunk/abstractions/memstat.pd Mon Feb 28 18:06:10 2011
@@ -1,18 +1,19 @@
-#N canvas 0 0 450 300 10;
+#N canvas 0 0 417 228 10;
 #X obj 17 30 inlet;
-#X obj 16 216 outlet;
-#X obj 16 88 textfile;
+#X obj 16 183 outlet;
 #X obj 16 50 gf/getpid;
-#X obj 17 108 display;
-#X obj 67 118 display;
-#X msg 16 69 read /proc/\$1/stat cr \, bang;
-#X msg 16 149 float \$23;
-#X obj 16 168 >> 10;
-#X connect 0 0 3 0;
-#X connect 2 0 4 0;
-#X connect 2 0 7 0;
-#X connect 2 1 5 0;
-#X connect 3 0 6 0;
-#X connect 6 0 2 0;
-#X connect 7 0 8 0;
-#X connect 8 0 1 0;
+#X obj 16 164 >> 10;
+#X obj 16 88 #in;
+#X msg 16 69 open grid /proc/\$1/stat \, headerless 666 \, type b \,
+bang;
+#X obj 16 107 #to_s;
+#X msg 16 145 list \$23;
+#X obj 16 126 s2l;
+#X connect 0 0 2 0;
+#X connect 2 0 5 0;
+#X connect 3 0 1 0;
+#X connect 4 0 6 0;
+#X connect 5 0 4 0;
+#X connect 6 0 8 0;
+#X connect 7 0 3 0;
+#X connect 8 0 7 0;

Modified: trunk/tests/memstat-test.pd
==============================================================================
--- trunk/tests/memstat-test.pd (original)
+++ trunk/tests/memstat-test.pd Mon Feb 28 18:06:10 2011
@@ -1,20 +1,20 @@
-#N canvas 440 166 416 258 10;
-#X obj 33 66 memstat;
-#X obj 90 67 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 8 -225271
--1 -1 17364 256;
-#X obj 73 126 f;
-#X obj 99 126 + 1;
-#X obj 12 175 pack f f;
-#X obj 33 126 t f b;
-#X floatatom 96 146 5 0 0 0 - - -;
+#N canvas 456 42 416 258 10;
+#X obj 13 56 memstat;
+#X obj 70 57 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 8 -225271
+-1 -1 28416 256;
+#X obj 53 116 f;
+#X obj 79 116 + 1;
+#X obj 13 165 pack f f;
+#X obj 13 116 t f b;
+#X floatatom 76 136 5 0 0 0 - - -;
 #N canvas 0 0 450 300 (subpatch) 0;
 #X array mem 100 float 2;
 #X coords 0 50000 99 0 200 200 1;
 #X restore 168 25 graph;
-#X msg 12 195 \; mem \$2 \$1;
-#X msg 42 86 0 \; mem const 0;
-#X obj 33 44 metro 2000;
-#X obj 34 24 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+#X msg 13 185 \; mem \$2 \$1;
+#X msg 22 76 0 \; mem const 0;
+#X obj 13 34 metro 2000;
+#X obj 14 14 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
 ;
 #X connect 0 0 1 0;
 #X connect 0 0 5 0;



More information about the Gridflow-cvs mailing list