Performance of each query executed.

Hello people. I have to do a study for my thesis on the performance of MySQL based on memory metrics, disk usage and processor usage. I’m new to the forum and I’ve been reading about percona and the metrics it offers but I want to know if there is any way to capture those metrics associated with each query that I run. For example, for each query that tells me how much processor I used, how many disk readings I had to make and the memory I had to use to carry out the query. Thanks for your time