changed synchronized from extension method to normal one

This commit is contained in:
Alex Tkachman
2012-01-24 14:48:09 +02:00
parent e61a9f62ba
commit 8176487c93
5 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ fun measureTimeMillis(block: () -> Unit) : Long {
}
/**
Executes current block and returns elapsed time in milliseconds
Executes current block and returns elapsed time in nanoseconds
*/
fun measureTimeNano(block: () -> Unit) : Long {
val start = System.nanoTime()