about System: currentTimeMillis()
i am new in java,
i wrote a java program, my program is multiplication of two big matrixes and i used 10, 50 ,200, 1000 treads in it to execute. but when i computed the endtime-starttime of my program for each number of threads, i had increasing numbers according to the increasing number of threads.
i used "currentTimeMillis()".
10 threads==> 266
200 threads ==> 2484
1000 threads ==> 12549
why did i meet this result,
my computer in not multicore and i was expecting decreasing numbers according to increasing number of threads?