lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 26 Jul 2006 09:08:46 -0700
From:	"john stultz" <johnstul@...ibm.com>
To:	"John Richard Moser" <nigelenki@...cast.net>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: gettimeofday(), clock_gettime(), timer_gettime()

On 7/25/06, John Richard Moser <nigelenki@...cast.net> wrote:
> I'm looking through a few things and noticing some complaints about time
> and performance.  Briefly, the following things have come to my attention:
>
>  - gettimeofday() is slow, or so they say, needing several milliseconds
> to execute.

No. At worse its several microseconds (PIT takes about 18us, and its terrible!).
More likely you'll see ~1us using ACPI PM or HPET or ~500-100ns
(depending on your system).  With vsyscall it can get into the sub
100ns range.

thanks
-john
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ