[Nagios-devel] Event Profiler Timers?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Event Profiler Timers?

Post 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]
Locked