[systemd-devel] [systemd-commits] Makefile.am src/readahead

Kok, Auke-jan H auke-jan.h.kok at intel.com
Tue Mar 26 11:36:10 PDT 2013

On Tue, Mar 26, 2013 at 10:44 AM, Kok, Auke-jan H
<auke-jan.h.kok at intel.com> wrote:
> On Tue, Mar 26, 2013 at 10:38 AM, Lennart Poettering
> <lennart at poettering.net> wrote:
>> On Tue, 26.03.13 10:33, Auke-Jan Kok (auke at kemper.freedesktop.org) 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.



More information about the systemd-devel mailing list