🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #203

Tool to determine stack usage?

#203
From: Keith Bennett
Date: Thu, 29 Sep 1994 22:11
17 lines
1473 bytes
I make an educated guess when determining the stack size for a new
thread.  Does anyone have any suggestion as to a more accurate
method?  That is, are there any tools that will analyze a thread at
runtime to determine its maximum use?  For example, would the profiler
do something like this?

I realize that the stack usage may differ from run to run based on the
conditions at runtime, but this would nevertheless be useful.

Thanks.
- Keith

-- 
--------------------------------------------------------------------------
Keith Bennett                            Bennett Business Solutions, Inc.
C++/C Software Development               1852 Middlebridge Drive
kbennett@cpcug.org                       Silver Spring, MD USA 20906
Technical Details
Message-ID: <36fe1t$pq4@cpcug.org>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!news1.digex.net!digex.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cd94,53b7296271498944,start
X-Google-Attributes: gid10cd94,public
X-Google-Thread: 11307a,53b7296271498944,start
X-Google-Attributes: gid11307a,public
X-Google-ArrivalTime: 1994-09-29 17:08:24 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!news1.digex.net!digex.net!not-for-mail
From: kbennett@cpcug.org (Keith Bennett)
Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l
Subject: Tool to determine stack usage?
Date: 29 Sep 1994 18:11:09 -0400
Organization: Express Access Online Communications USA: 800-969-9090
Lines: 17
Message-ID: <36fe1t$pq4@cpcug.org>
NNTP-Posting-Host: cpcug.org