From owner-freebsd-threads@FreeBSD.ORG Thu Oct 30 17:41:17 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDFF71065698 for ; Thu, 30 Oct 2008 17:41:17 +0000 (UTC) (envelope-from info@yourkit.com) Received: from mail.yourkit.com (mail.yourkit.com [217.112.36.110]) by mx1.freebsd.org (Postfix) with ESMTP id 309958FC33 for ; Thu, 30 Oct 2008 17:41:16 +0000 (UTC) (envelope-from info@yourkit.com) Received: (qmail 16602 invoked by uid 89); 30 Oct 2008 17:14:34 -0000 Received: by simscan 1.1.0 ppid: 16577, pid: 16599, t: 0.0736s scanners: clamav: 0.87.1/m:34/d:1162 Received: from unknown (HELO localhost) (info@yourkit.com@84.52.73.195) by mail.yourkit.com with ESMTPA; 30 Oct 2008 17:14:34 -0000 Date: Thu, 30 Oct 2008 20:15:53 +0300 From: Vladimir Kondratyev Organization: YourKit, LLC X-Priority: 3 (Normal) Message-ID: <678291552.20081030201553@yourkit.com> To: freebsd-threads@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: getting CPU time for particulat thread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@yourkit.com List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 17:41:18 -0000 Hi folks, is there any ability to get CPU time consumed by particular thread? We are porting YourKit Java Profiler (http://www.yourkit.com) to FreeBSD platform. Everything works almost fine, but we cannot find a way how to receive thread CPU times? Any help is greatly appreciated. Thank you in advance. Sincerely, Vladimir Kondratyev YourKit, LLC http://www.yourkit.com "Don't get lost in data, get information!"