17
besides System.nanoTime(), JMX is probably the best viable option:
java.lang.management.ManagementFactory.getThreadMXBean()
you can query current thread cpu time (measured in nano seconds but not with nano seconds precision, as for System.nanoTime())