This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cyg_ticks_to_timespec()


> So it seems that rounding off is intentional. In which case I 
> should just
> tweak cyg_ticks_to_timespec to fix up the value if tv_nsec is 
> negative.
> Before I do it, I just want to check my understanding that 
> the convertors
> are doing the right thing by rounding not truncating.
> 
> Jifl

I can't think of a reason to round off. Can anyone else?

/Linus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]