From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 182072F11C for ; Mon, 15 Jan 2001 16:44:04 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f0FLi8931834 for axp-list@listman.redhat.com; Mon, 15 Jan 2001 16:44:08 -0500 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f0FLi7v31830 for ; Mon, 15 Jan 2001 16:44:07 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Sun, 14 Jan 2001 15:44:53 -0600 Received: by paralleldata.com from paralleldata.com (65.3.53.39::mail daemon; unverified,SLMail V2.5); Sun, 14 Jan 2001 15:44:53 -0600 Message-ID: <3A637614.E8227355@paralleldata.com> Date: Mon, 15 Jan 2001 16:13:40 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: gprof and iprobe References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors "T. Daniel Crawford" wrote: > > > If anyone has any additional thoughts or experience in this arena, I would > be most appreciative of your advice. > Externalize the temporary memory array to allow the application to allocate it and save/destroy it as needed. Other high performance libraries I've used do this. That way it's the app-writer's problem to figure out whether to malloc() it on each call or malloc() it once and use it repeatedly. Just need to document how much memory is required based on the input sizes. Wes