OK, fixed, I just removed the initialization, it was pointless and misleading.
On Wed, Nov 10, 2010 at 6:26 PM, Pieter Hintjens <[email protected]> wrote: > You're right, I initially intended to add up each task's time and then > switched to just calculating the total elapsed time. I'll fix the C > code and as many of the translations as I can... > > On Wed, Nov 10, 2010 at 6:12 PM, jeremy avnet <[email protected]> wrote: >> https://github.com/imatix/zguide/blob/master/examples/C/tasksink2.c#L27 >> >> It looks like the code was going to add up the results received (total_msec >> is set to zero before processing 100 tasks), but then after the processing >> loop, total_msec is just set to the clock time duration. >> >> Was the intention to calculate both or just the clock time? >> >> .:. brainsik >> >> _______________________________________________ >> zeromq-dev mailing list >> [email protected] >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> >> > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
