I would like to propose a patch to PolyML (attached) that uses subsecond time fields in stat structures, when they are available. I think the patch is fairly straightforward.
When I changed configure.ac by adding the AC_CHECK_MEMBERS macro, autoconf started whining at me about AC_CANONICAL_HOST being obsolete. Then it turned out that its replacement, AC_CANONICAL_TARGET, must appear before AM_INIT_AUTOMAKE, hence the slight rearrangement of macro calls there. Ignore that part if you like AC_CANONICAL_HOST.
I am not sure of the best place to put the STAT_SECS and STAT_USECS macros. They seemed to me to be somewhat related to other definitions in io_internal.h, but perhaps there is a better place to put them.
Anyway, this is more a proof of concept than a finished product. Feel free to mangle it to your heart's content. I won't be offended. :-)
Regards,