Last active
January 5, 2018 01:39
-
-
Save jorovipe97/60618719e644e003684754c269953384 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// If each iteration has 30ms, then | |
// 100 000 iterationts * 30ms = 3 000 000ms | |
// 3 000 000ms/1000ms = 3000s | |
// 3000s / 60s = 50minutes | |
function totalTimeInMinutes(iterationsCount, iterationDurationInMs) | |
{ | |
return ((iterationsCount*iterationDurationInMs)/1000)/60; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment