From e12f5f0d2a4a5e3a5987dfd6cf1f3123ef88c10e Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 26 Aug 2013 20:38:40 +0200 Subject: [PATCH] Prints the supported nanosecond function with -T. --- speed.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/speed.c b/speed.c index 5d98eec3..dc7026f3 100644 --- a/speed.c +++ b/speed.c @@ -105,6 +105,16 @@ void speed(void) printf("Memory is little-endian %u-bit\n", (unsigned)sizeof(void*) * 8); #endif +#if HAVE_FUTIMENS + printf("Support nanosecond timestamps with futimens()\n"); +#elif HAVE_FUTIMES + printf("Support nanosecond timestamps with futimes()\n"); +#elif HAVE_FUTIMESAT + printf("Support nanosecond timestamps with futimesat()\n"); +#else + printf("Does not support nanosecond timestamps\n"); +#endif + printf("\n"); printf("Expected fastest hash is ");