From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 20 00:44:10 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C97916A4CE for ; Thu, 20 Jan 2005 00:44:10 +0000 (GMT) Received: from 194-185-53-242.f5.ngi.it (194-185-53-242.f5.ngi.it [194.185.53.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E58243D2D for ; Thu, 20 Jan 2005 00:44:09 +0000 (GMT) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost. [127.0.0.1])j0K0i7ZW045760 for ; Thu, 20 Jan 2005 01:44:07 +0100 (CET) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost.lab [127.0.0.1]) by einstein.lab (8.13.1/8.13.1) with ESMTP id j0K0i6GS009360 for ; Thu, 20 Jan 2005 01:44:06 +0100 (CET) (envelope-from mark@einstein.lab) Received: (from mark@localhost) by einstein.lab (8.13.1/8.13.1/Submit) id j0K0i6Mw009359 for freebsd-hackers@freebsd.org; Thu, 20 Jan 2005 01:44:06 +0100 (CET) (envelope-from mark) Date: Thu, 20 Jan 2005 01:44:06 +0100 From: Marco Trentini To: freebsd-hackers@freebsd.org Message-ID: <20050120004406.GF921@einstein.lab> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD einstein.lab 6.0-CURRENT i386 User-Agent: Mutt/1.5.6i Subject: clock time in milliseconds into a c program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 00:44:10 -0000 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? -- Marco Trentini mark@remotelab.org http://www.remotelab.org/