System.timeMillis method renamed to measureTimeMillis and measureTimeNano added

This commit is contained in:
Alex Tkachman
2011-12-20 12:54:21 +02:00
parent 0134276930
commit 117f03cbbf
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ fun main(args: Array<String>) {
while(threadNum <= 1024) {
val counter = AtomicInteger()
val duration = millisTime {
val duration = measureTimeMillis {
threadNum.latch{
val lock = ReentrantLock()
for(i in 0..threadNum-1) {