Suppose I have code running on Unix as follows:
$ ./mycode
My question is whether there is a way in which I can run my code K times. For example, the value K = 1000.
I am aware of the Unix command "time", but it only executed 1 instance.
c ++ performance benchmarking unix
neversaint
source share