From owner-freebsd-questions Fri Dec 20 08:52:25 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA26966 for questions-outgoing; Fri, 20 Dec 1996 08:52:25 -0800 (PST) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [171.69.104.147]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA26955 for ; Fri, 20 Dec 1996 08:52:17 -0800 (PST) Received: from bmcgover-pc.cisco.com (bmcgover@localhost.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.8.2/8.8.2) with ESMTP id LAA00469 for ; Fri, 20 Dec 1996 11:51:07 -0500 (EST) Message-Id: <199612201651.LAA00469@bmcgover-pc.cisco.com> To: questions@freebsd.org Reply-To: bmcgover@cisco.com Subject: Profiling applications Date: Fri, 20 Dec 1996 11:51:07 -0500 From: Brian McGovern Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Are there any free utilities out there for helping to profile programs? I'm writing some code that needs to minimize CPU utilization, and I'd like to see what functions (of mine, and of the system's) are taking the most time, so I can make some better code choices (using memcpy, for instance, instead of copying a string a byte at a time in a for loop). Thanks. -Brian