Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 16:46:01 -0800
From:      steve@Watt.COM (Steve Watt)
To:        mark@remotelab.org
Cc:        hackers@freebsd.org
Subject:   Re: clock time in milliseconds into a c program
Message-ID:  <200501200046.j0K0k1fU033170@wattres.watt.com>
In-Reply-To: <20050120004406.GF921@einstein.lab>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20050120004406.GF921@einstein.lab> you write:
>
>Hi, I need to clock the function execution time into a C
>program. I know /usr/include/time.h library but I need to
>clock the time in milliseconds.
>
>Any suggestions, links?

% man clock_gettime

Is nanoseconds too much?

-- 
Steve Watt KD6GGD  PP-ASEL-IA          ICBM: 121W 56' 57.8" / 37N 20' 14.9"
 Internet: steve @ Watt.COM                         Whois: SW32
   Free time?  There's no such thing.  It just comes in varying prices...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501200046.j0K0k1fU033170>