|Assignment: #Timer||Due: 04/09/2017||Points: 2|
Download, compile, and execute Timer.java on your computer. The output of the program must be contained in the body of this assignment's email submission.
Here is the output of the program executed on my Ubuntu GNU/Linux System 76 laptop computer. The program was executed via a BASH command-line.x = new int failed x = new int failed x = new int failed x = new int failed x init took 103121134 nanoseconds (0.103121134 seconds) ...update took 163402271 nanoseconds (0.163402271 seconds) ...search took 64043427 nanoseconds (0.064043427 seconds) y = new int failed y = new int failed ...copy into y took 40217324 nanoseconds (0.040217324 seconds) ...System.arraycopy() took 45822301 nanoseconds (0.045822301 seconds)
The output of your program does not need to include the following. I used the time commmand to time java Timer.real 0m2.461s user 0m1.144s sys 0m0.592s