Daniel:

You need to pass a double (time_t is an int).

Linux/Mac case: the small difference is because we were
writing them with different format conversion codes (%f and %e).
I fixed this.

-- David

On 12-May-2011 5:03 AM, Daniel Lombraña González wrote:
> Dear all,
>
> I'm using this method boin_report_app_status(double var1, double var2,
> double frac). The problem is that it is working perfectly well in
> GNU/Linux and Mac OS X systems while in Windows is misbehaving. The
> first var is for cpu time and the second one for the time of the
> checkpoint. I'm using the same var for both cases a time_t type one,
> however in the boinc_task_state.xml the value for
> <checkpoint_cpu_time>  is big, really big and different to
> <checkpoint_elapsed_time>.
>
> I thought at the beginning that the problem was a cast problem, so
> cast the var to<double>  but the same behavior occurs. Any idea of
> what is going on here?
>
> Regards,
>
> Daniel
>
> PS: In GNU/Linux and Mac OS X it works, the two fields are more or
> less identical, which I also do not understand why are they different
> as I'm using the same var.
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to