Need info on cog com timing
T Chap
Posts: 4,223
in Propeller 1
Question. If a program in main launches a cog and sends it pointers.
If there a way to calculate the difference in time it could take to make a = b using the method above versus if the main program did the equation itself a:=b. And is the time difference affected based on the order of the cogs and if the sub is at some unknown cog number. I’m trying to see if this time difference can be determined at 80Mhz
Pub main ‘Start new cog and send long ptr @aptr @bptr Repeat If somethinghappens Newcog.Somemethod New cog Pub somemethod Long[a] := long[b]
If there a way to calculate the difference in time it could take to make a = b using the method above versus if the main program did the equation itself a:=b. And is the time difference affected based on the order of the cogs and if the sub is at some unknown cog number. I’m trying to see if this time difference can be determined at 80Mhz
Comments
Parallax used to have a little table with more detailed timings on their site, but I can't find it now.