Date: Thu, 14 Aug 1997 12:29:44 +0200 From: Poul-Henning Kamp <phk@dk.tfs.com> To: current@freebsd.org Subject: kernel profiling data... Message-ID: <2419.871554584@critter.dk.tfs.com>
next in thread | raw e-mail | index | archive | help
Should anybody be interested, I'm currently running my kernel with basic- block profiling. If there are any particular piece of code you want to get some numbers for, let me know. Here is a snapshot per procedure. The metric is "number of bytes * number of executions" which doesn't take procedure calls into account. It's still a pretty good metric anyway: 2141424420 pmap_pte_quick 2123382399 malloc 1967036165 vm_pageout_page_stats 1891991217 sc_bcopy /* this is special in my code */ 1849258604 pmap_is_managed 1822361685 in_cksum 1745752719 lookup 1647903703 selscan 1621132031 userret 1525817854 free 1478288512 hardclock 1384795000 scanc 1238605405 select 1228973774 __qdivrem 1203676414 ffs_sync 1136352924 timeout 1076999688 splvm 1072813562 vfs_msync 960134796 tcp_output 874196469 VOP_ISLOCKED 839275470 splhigh 825929764 inbc 754320392 lockstatus 753825169 vm_pageout_scan 659921964 getit 656055743 cpu_clockupdate 631443113 edintr_sc 608603985 outbv 601732656 clock_latency 560227824 ufs_islocked 528477347 cache_lookup -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2419.871554584>