[PD] [metro] [realtime] and [cputime], were is the true?

cyrille henry cyrille.henry at la-kitchen.fr
Fri Nov 5 16:57:32 CET 2004


hello,

time and date objects from zexy would give you the exact time of the 
hardware clock.
so they can be trust.

cputime looks the utilisation of the computer cpu, it can't be related 
to the curent time.

it looks strange that realtime is not 20000
it's almost the case on my computer : 19991.2. (0.38.7 on linux).

have you tried a metro 20000 (and select 1)?

cyrille

P.S. could you use a [t b b] where connection order does matter.


stephane a écrit :
> When I bang those objects, I obtain :
> 
> [metro 10] [* 10] => 20000
> 
> [realtime] => 21273
> 
> [cputime] => 578.125
> 
> Test it yourself.
> What do you think about this results ?
> Witch one of them can I use for have the exactly reflect of the 
> reality's time?
> 
> Thanks
> .sr
> 
> 
> ------------------------------------------------------------------------
> 
> #N canvas 0 0 454 304 12;
> #X msg 186 7 stop;
> #X obj 22 122 realtime;
> #X obj 111 122 cputime;
> #X msg 111 45 bang;
> #X msg 186 45 bang
> #X floatatom 22 238 0 0 0 0 - - -;
> #X floatatom 111 239 0 0 0 0 - - -;
> #X obj 223 153 + 1;
> #X obj 188 154 int;
> #X floatatom 188 238 0 0 0 0 - - -;
> #X msg 253 122 0;
> #X obj 268 150 sel 20000;
> #X obj 268 175 b;
> #X obj 188 122 metro 1;
> #X connect 0 0 4 0;
> #X connect 0 0 13 0;
> #X connect 1 0 5 0;
> #X connect 2 0 6 0;
> #X connect 3 0 1 0;
> #X connect 3 0 2 0;
> #X connect 3 0 10 0;
> #X connect 3 0 13 0;
> #X connect 4 0 1 1;
> #X connect 4 0 2 1;
> #X connect 7 0 8 1;
> #X connect 8 0 7 0;
> #X connect 8 0 9 0;
> #X connect 9 0 11 0;
> #X connect 10 0 8 1;
> #X connect 11 0 12 0;
> #X connect 12 0 0 0;
> #X connect 13 0 8 0;




More information about the Pd-list mailing list