Benchmark w/ result

storage_ts_index
Georg Lukas 2011-04-11 20:11:08 +02:00
rodzic fae714f854
commit 1bbc9b22d3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3,7 +3,7 @@ package org.aprsdroid.app
import _root_.android.util.Log
object Benchmark {
def apply[T](tag: String)(block: => T) {
def apply[T](tag: String)(block: => T) : T = {
val start = System.currentTimeMillis
try {
block