I suggest looking for different tools for each of these, as I assume there is no one tool for all of them.
Memory profiling is being discussed here: