Re: Thread.sleep takes lot of CPU time!
- From: "pranshu" <pranshujain@xxxxxxxxx>
- Date: 17 Jul 2006 09:02:00 -0700
Hi Raga,
How are you measuring CPU time ?
I guess you are using a profiler.
It is highly likely that your loop is very light - taking 0.01% of
system time - and out of that the sleep method is taking 30%?
essentially being 30% of nothing.
Pranshu
.
- References:
- Thread.sleep takes lot of CPU time!
- From: Raga
- Thread.sleep takes lot of CPU time!
- Prev by Date: Re: Fetching Contacts using JavaMail?
- Next by Date: Is synchronisation required here ?
- Previous by thread: Re: Thread.sleep takes lot of CPU time!
- Next by thread: Convert eclipse project into Netbeans
- Index(es):