Sneaky Little Snippets

Tag Archives: C++

If you want to measure time in miliseconds in Unix, you can use this code. This program returns 2 miliseconds as a result related with usleep function with value of 2000. You can replace your function which you want to measure runtime with this usleep function.Click to read more…