How to profile the time spent on autotuning

Hi all:

I am trying to profile the autotuning program for ResNet18 using XGB tuner. I would like to know how time is spent on each single parts of autotuning program. Like time of compiling, time of testing on hardware and time of updating XGB tuner.

Do you have any ideas how to do this?

Thank you very much!

Good know that you are interested in this issue :slight_smile:

Unfortunately, I don’t think there’s an easy way to do so. I guess you have to manually insert timer between each step. Maybe you can consider using time decorator to ease this process.