[android-developers] Re: Timer Help (Time Stamp my code)

2009-04-27 Thread mcmc
great, thanks! :) and for others who may be interested, you can get it in milliseconds too: System.currentTimeMillis(); On Apr 24, 10:24 am, Mark Anacker closecr...@riven.tzo.com wrote: Well, you could grab the System.nanoTime() value at the start of the block, again at the end, and

[android-developers] Re: Timer Help (Time Stamp my code)

2009-04-24 Thread Mark Anacker
Well, you could grab the System.nanoTime() value at the start of the block, again at the end, and subtract... On Apr 24, 9:43 am, mcmc manni...@gmail.com wrote: Hi, I'm trying to put a timer in my code to determine the amount of time it takes to execute a block of code. I've tried googling