Time taken by algorithm to run

I am trying to compute how much time bubble sort takes to run for different inputs same as Bhaiya is doing but I am getting both start and end time same. and end - start --> 0
what is erong

@krishnaSonavane share your code!