Date: Mon, 24 Aug 2015 01:13:12 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: freebsd-hackers@FreeBSD.org Subject: How to application sample profiling? Message-ID: <20150823221312.GD21849@zxy.spb.ru>
next in thread | raw e-mail | index | archive | help
I have multi-thread application fully utilise all CPU cores. I am need to determine lines give mostly CPU loads. How I can do this? `pmcstat -P BU_CPU_CLK_UNHALTED -t application_pid -n 500000 -O sample.out` consume to many CPU (performance drop x100 times) and mostly show himself in kernel and pmc locks and none for application. pmcstat -S BU_CPU_CLK_UNHALTED -- same here.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150823221312.GD21849>