public static void main (String [] args) { // JIT/hotspot warmup: for (int r = 0; r < 3000; ++ r) System.currentTimeMillis (); long time = System.currentTimeMillis ...
I want to time some functions (for an assignment) but I can't find the C++ equivalent of Java's currentTimeMillis(). Is there a way to time a function (or anything else) and print the output (not from ...