Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Tick rate and timer (thread 9): (6 Items)
   
Tick rate and timer (thread 9)  
Hi

I need to log some variables on my target with a resolution on my logged data with 400us.
So my application set the tick rate to 400us.

But when i running the code it sometimes get the same time for some samples.
And it look like this is going on at the same time that thread 9 from procnto-600 running.
What exactly is thread 9? 

/Lasse
Re: Tick rate and timer (thread 9)  
  Hi,

the standard time resolution of the timer services is  1ms.

For the a cyclic operation with 400us you need an other time base ... on 
a x86 system you could use the configurable IRQ 8 as a stable time base.
I could post the IRQ 8 routine if you need it ....

Armin Steinhoff

http://www.steinhoff-automation.com



Lasse Skov wrote:
> Hi
>
> I need to log some variables on my target with a resolution on my logged data with 400us.
> So my application set the tick rate to 400us.
>
> But when i running the code it sometimes get the same time for some samples.
> And it look like this is going on at the same time that thread 9 from procnto-600 running.
> What exactly is thread 9?
>
> /Lasse
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post63511
>
>
Re: Tick rate and timer (thread 9)  
Yes but did anyone know what thread 9 is?

Cant find out what the different threads is doing.

Yes the standart time res is 1ms but in my code i set it to 400us.

/Lasse
Re: Tick rate and timer (thread 9)  
The procmgr threads are just a pool of workers, so there is no
particular association of thread 9 with any specific task: it depends on
what the system is doing.

On Fri, 2010-08-20 at 02:39 -0400, Lasse Skov wrote:
> Yes but did anyone know what thread 9 is?
> 
> Cant find out what the different threads is doing.
> 
> Yes the standart time res is 1ms but in my code i set it to 400us.
> 
> /Lasse
> 
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post63675
> 
Re: Tick rate and timer (thread 9)  
I have looked at all of the posts related to deficiencies of ClockCycles(), and do not find any resolution except maybe 
your irq8.  I would be interested in seeing the post.

Thanks
Re: Tick rate and timer (thread 9)  
some of the new x86 PC has high precision timer on LPC bridge. Perhaps you can use that.