If you have Profiler enabled in Admin / System / Configuration / Developer, you will see a link on the bottom of each page “[Profiler]”, and when you click on it, will expand to table that shows statistics about times, number of execution and memory used for each watched fragment of the code. It will also show profiling statistics for main connection to database and queries.