title: how to calculate the execution time taken for the command cell in databricks notebook
body: <p>i need to know the time taken to execute the list of command cells in each notebook. Databricks displays the "command took x number of seconds" to execute . Similar to the displayed executed time , i need to capture the time taken to execute all the commands in a notebook.</p>
  
  <p><a href="https://i.stack.imgur.com/tk3uU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tk3uU.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/4aKlg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4aKlg.png" alt="enter image description here"></a></p>