Train and Predict Time

Hello,

Thanks everyone for the great support. How can I extract the training and prediction times of my model? (How do I know how much time a particular model require to train and how can I measure how much time it takes to predict the spatial results at a specific time t)

Please assist.