Re: [m-users.] Grade for profiling
"Zoltan Somogyi" <[email protected]>
| Newsgroups | gmane.comp.lang.mercury.general |
|---|---|
| Message-ID | <[email protected]> |
2023-03-21 19:19 GMT+11:00 "Peter Wang" <[email protected]>: >> Because there's more going on that just that. Volker's program forks >> off separate processes and I suspect the the Prof.* files end up being >> inconsistent -- ASLR just complicates matters because the addresses >> differ between each of them. > > That makes sense. The Prof.Decl file would be written when the program > starts up, and the Prof.Counts file is probably overwritten by each > process when it shuts down. Obviously, you may not get usable profiling > information then. Note that the Mercury profiler mprof was designed and implemented years before either - Mercury got support for parallel programs, or - OSs started supporting ASLR. It is therefore not surprising that it would need further work to support either, or both. Zoltan. _______________________________________________ users mailing list [email protected] https://lists.mercurylang.org/listinfo/users