M
mkovac
Hi all,
I would like to know how much stack memory is used when program is
running. Can this be achived in some portable way? At least I would
like to know this on Linux. I already managed to get this with the help
of gcc instrument functions to check the value of stack pointer when
program is entering in functions.
link:
http://groups-beta.google.com/group/comp.os.linux.development.apps/
browse_frm/thread/da68b2ed4493d7b6/a9e5586726639754?q=get+stack+
usage+of+process&_done=%2Fgroups%3Fhl%3Den%26q%3Dget+stack+usage+
of+process%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&&d#a9e5586726639754
Thanks for any advice.
Miha
I would like to know how much stack memory is used when program is
running. Can this be achived in some portable way? At least I would
like to know this on Linux. I already managed to get this with the help
of gcc instrument functions to check the value of stack pointer when
program is entering in functions.
link:
http://groups-beta.google.com/group/comp.os.linux.development.apps/
browse_frm/thread/da68b2ed4493d7b6/a9e5586726639754?q=get+stack+
usage+of+process&_done=%2Fgroups%3Fhl%3Den%26q%3Dget+stack+usage+
of+process%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&&d#a9e5586726639754
Thanks for any advice.
Miha