Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 20:45:52 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        questions@FreeBSD.org
Subject:   CLOCK_PROF, CLOCK_VIRTUAL
Message-ID:  <200208152045.52115.mi%2Bmx@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hi!

I'm trying to clock a few of my functions on FreeBSD with clock_gettime
and attempts to use the clocks in subject fail with EINVAL :-\

	struct timespec start;
	[...]
	clock_gettime(CLOCK_VIRTUAL, &start);
	[...]

Only the CLOCK_REALTIME works and the results vary too much, obviously.

What's wrong? Thanks!

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208152045.52115.mi%2Bmx>