[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian Hurd clock precision



Hi,

While debugging a timing problem with FFmpeg on Hurd, I noticed that the
"clock" function has a far lower precision on Hurd than it does on
Linux, even though CLOCKS_PER_SEC is 1000000 on both. Why is this?

I also found this patch to libc which may be responsible:
hurd-i386/unsubmitted-clock_t_centiseconds.diff

I'm not entirely sure why patching libc is appropriate to fix the
claimed issues.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: