Page 1 of 1

[Nagios-devel] Event Profiler Timers?

Posted: Tue Jun 09, 2009 2:54 pm
by Guest
Hi Everyone,

I've been taking a long hard look at my event profiling code and I had a th=
ought.
We're currently using time(&time_t) to get the function entry and exit time=
s but is this really precise enough?
Would it be better (i.e. worth the overhead), to use clock_t =3D clock() to=
get the entry and exit?
Thoughts?

Sincerely,
Steve


NOTICE: This email message is for the sole use of the intended recipient(s=
) and may contain confidential and privileged information. Any unauthorized=
review, use, disclosure or distribution is prohibited. If you are not the =
intended recipient, please contact the sender by reply email and destroy al=
l copies of the original message.







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]