Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 1996 20:55:19 -0700 (MST)
From:      Wes Peters <softweyr@xmission.com>
To:        bmcgover@cisco.com
Cc:        questions@freebsd.org
Subject:   Profiling applications
Message-ID:  <199612230355.UAA00413@obie.softweyr.com>
In-Reply-To: <199612201651.LAA00469@bmcgover-pc.cisco.com>
References:  <199612201651.LAA00469@bmcgover-pc.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian McGovern writes:
 > 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).

gprof -- "it's in there!"

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612230355.UAA00413>