Mon, 6 Jan 2003 09:18:40 -0000
Not currently. It's not clear what a "point" in execution *is*!
The top-level IO monad thread might provide such a point, but even then
it might not be clear how much of a lazy data structure had been
evaluated by that "point".
I could see sense in having an I/O operation
markProfile :: String -> IO ()
which would put a labelled vertical line on the profile to say when that
| -----Original Message-----
| From: Kirsten Chevalier [mailto:email@example.com]
| Sent: 03 January 2003 19:30
| To: firstname.lastname@example.org
| Subject: Profiling question
| I'd like to be able to determine the percentage of allocated objects
| particular type at specific points in a program's execution. I know
| can use heap profiling to create a graph of memory usage broken down
| but is there any way to record this information at particular points
| program (i.e., between two statements in a do-expression)?
| Kirsten Chevalier * email@example.com * Often in error, never in
| Glasgow-haskell-users mailing list