Measuring stack space used

Measuring stack space used

Are there any tools that can be used in a Fortran application program (running under RHEL) to measure the amount of stack spaceused? I'd like to be able to call some routine that would report stack usage at that point in time, as well as to report the highwater mark (the maximum amount of stack used). Any help would be greatly appreciated.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.