convert clock() to clock_gettime() for improved precision (and accuracy?)
authortedu <tedu@openbsd.org>
Mon, 5 Jan 2015 13:10:10 +0000 (13:10 +0000)
committertedu <tedu@openbsd.org>
Mon, 5 Jan 2015 13:10:10 +0000 (13:10 +0000)
commit87c891730d7a9b7c104c13b386983d384da52fc7
treea86954b93d7b5a92bca98a8c4e73915344b9b64a
parent3d32aa6738d01e53390f5e25f92a698c95de62d1
convert clock() to clock_gettime() for improved precision (and accuracy?)
guenther suggested using thread time, which actually may improve accuracy
if somebody puts this in a threaded program.
lib/libc/crypt/bcrypt.c