On Tue, Mar 26, 2013 at 10:44 AM, Kok, Auke-jan H <[email protected]> wrote: > On Tue, Mar 26, 2013 at 10:38 AM, Lennart Poettering > <[email protected]> wrote: >> On Tue, 26.03.13 10:33, Auke-Jan Kok ([email protected]) wrote: >> >> Heyhey, wait. >> >>> + clock_gettime(CLOCK_MONOTONIC, &starttime); >> >> Could you please turn this into an usec_t? We generally use usec_t for >> everything, it's much simpler to use. We won't use the floating point >> stuff then either. usec_t is actually a uint64_t so you can do normal >> calculations with it, without involving floats or antyhing. >> >> usec_t starttime; >> starttime = now(CLOCK_MONOTONIC); > > ahh yes, that'll be nice to get the float out of there!
alright, that looks a lot better now, pushed. Thanks, Auke _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
