#N canvas 547 88 460 315 12;
#X floatatom 77 223 7 0 0 0 - - - 0;
#X obj 77 192 cputime;
#X obj 19 12 cputime;
#X text 252 284 updated for Pd version 0.33;
#X text 16 285 see also:;
#X obj 92 284 realtime;
#X obj 164 284 timer;
#X text 150 142 output elapsed time. You can click multiple times since it was last reset., f 25;
#X text 101 110 reset (set elapsed time to zero);
#X obj 5 42 cnv 1 450 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#N canvas 776 85 479 247 reference 0;
#X obj 12 46 cnv 5 450 5 empty empty INLETS: 8 18 0 13 #202020 #000000 0;
#X obj 12 139 cnv 2 450 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 12 178 cnv 2 450 2 empty empty ARGUMENTS: 8 12 0 13 #202020 #000000 0;
#X obj 41 14 cputime;
#X text 151 187 NONE;
#X text 111 80 bang - reset (set elapsed time to zero)., f 43;
#X text 111 110 bang - output elapsed time., f 43;
#X obj 12 212 cnv 5 450 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X obj 12 104 cnv 1 450 1 empty empty 2nd: 8 12 0 13 #7c7c7c #000000 0;
#X obj 12 77 cnv 1 450 1 empty empty 1st: 8 12 0 13 #7c7c7c #000000 0;
#X text 127 148 1) float - elapsed time in msec.;
#X text 102 15 - measure CPU time/usage.;
#X restore 345 13 pd reference;
#X text 277 12 click =>;
#X obj 5 269 cnv 1 450 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 77 111 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X obj 123 148 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X text 20 57 The [cputime] object measures elapsed CPU time \, as measured by your operating system. It can be used measure CPU usage.;
#N canvas 619 87 402 370 example 0;
#X floatatom 132 312 5 0 0 0 - - - 0;
#X obj 132 224 cputime;
#X obj 132 104 loadbang;
#X obj 132 168 metro 1000;
#X obj 132 196 t b b;
#X obj 132 284 * 0.1;
#X obj 132 253 int;
#X obj 132 135 tgl 19 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000 0 1;
#X text 156 135 <-- on/off;
#X text 38 24 This example measures CPU load in percentage. You can find this example as a tool in the 'media' menu as 'Load Meter'., f 46;
#X connect 1 0 6 0;
#X connect 2 0 7 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 4 1 1 1;
#X connect 5 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 3 0;
#X restore 356 219 pd example;
#X text 138 223 Output in milliseconds;
#X text 80 13 - measure CPU time/usage;
#X connect 1 0 0 0;
#X connect 13 0 1 0;
#X connect 14 0 1 1;
