s3/profile: remove the magical clock initialization from the profile code
authorBjörn Jacke <bj@sernet.de>
Tue, 14 Sep 2010 20:40:51 +0000 (22:40 +0200)
committerBjörn Jacke <bj@sernet.de>
Thu, 16 Sep 2010 19:47:08 +0000 (21:47 +0200)
commit5162140e3a91edadb5e2e4e858e42cd6721bd29f
treed9717c113b260e4ad53c0810518951d30bb43d2f
parent5626f1dec255b91f04097297f94ad71d86ddaa31
s3/profile: remove the magical clock initialization from the profile code

there's no point in not profiling times if no monotonic clock is found -
monotonic and realtime clock are equally fast. Just use clock_gettime_mono
instead.
(cherry picked from commit 4e8d6a779c9aa9b9418b4f835d831ad4492c3f6c)
source3/include/smbprofile.h
source3/profile/profile.c