In message <4361FDBE.7000500_at_freebsd.org>, David Xu writes: >Now, I can confirm mysqld calls time() function lots of time, I have >changed time() to call clock_gettime, now there is few of gettimeofday >in ktrace result, but fully filled by clock_gettime. the correct way to optimize this would be to add a time(2) systemcall which returns the value of the kernel global time_second. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk_at_FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.Received on Fri Oct 28 2005 - 08:34:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC