OpenSourceEcon / BootCamp2019

Repository of syllabi, lecture notes, Jupyter notebooks, code, and problem sets for OSE Lab Boot Camp 2019
88 stars 97 forks source link

Does anyone know how to time functions in C on cluster? #32

Open isaacsantelli opened 5 years ago

isaacsantelli commented 5 years ago

I've been timing functions so that I can easily play with the number of iterations to compute pi etc etc. On my laptop i use this implementation of the timer (https://www.geeksforgeeks.org/measure-execution-time-function-cpp/) but this does not work on the cluster. Thoughts?