Fosi win32 patch.

Hi,

I've added high precision timing to the win32 fosi. Also I have increased
the default tick rate to the maximum being the system tick.

I've tested this with MinGW gcc 3.4.5. The patch is for the rtt-1.10 branch.

Kind regards,
Butch Slayer.

AttachmentSize
win32-fosi.patch28.43 KB

Fosi win32 patch.

On Wednesday 23 June 2010 14:23:00 Butch Slayer wrote:
> Hi,
>
> I've added high precision timing to the win32 fosi. Also I have increased
> the default tick rate to the maximum being the system tick.
>
> I've tested this with MinGW gcc 3.4.5. The patch is for the rtt-1.10
> branch.

Thanks. Since Jean did the recent win32 work and implemented the high
precision timing for the 2.0 mainline, I wonder if you couldn't have taken the
code from there or at least let us know you were working on this.

I would feel more comfortable merging this patch in 1.x if it did the same as
in the 2.x mainline. The fosi hardly changed between 1.x and 2.x, I don't want
two separate implementations for the same function.

Peter

Fosi win32 patch.

2010/6/23 Peter Soetens <peter [..] ...>

> On Wednesday 23 June 2010 14:23:00 Butch Slayer wrote:
> > Hi,
> >
> > I've added high precision timing to the win32 fosi. Also I have increased
> > the default tick rate to the maximum being the system tick.
> >
> > I've tested this with MinGW gcc 3.4.5. The patch is for the rtt-1.10
> > branch.
>
> Thanks. Since Jean did the recent win32 work and implemented the high
> precision timing for the 2.0 mainline, I wonder if you couldn't have taken
> the
> code from there or at least let us know you were working on this.
>
> I would feel more comfortable merging this patch in 1.x if it did the same
> as
> in the 2.x mainline. The fosi hardly changed between 1.x and 2.x, I don't
> want
> two separate implementations for the same function.
>
> Peter
>

The high precision timer is one thing. I also added code to change the tick
period of the application. I could not run threads faster than 20 ms. This
patch allow threads to run as fast as the system tick.

Butch.

Fosi win32 patch.

On Jun 23, 2010, at 08:23 , Butch Slayer wrote:

> Hi,
>
> I've added high precision timing to the win32 fosi. Also I have increased the default tick rate to the maximum being the system tick.
>
> I've tested this with MinGW gcc 3.4.5. The patch is for the rtt-1.10 branch.
>
> Kind regards,
> Butch Slayer.

Fosi win32 patch.

2010/6/23 S Roderick <kiwi [dot] net [..] ...>

> On Jun 23, 2010, at 08:23 , Butch Slayer wrote:
>
> > Hi,
> >
> > I've added high precision timing to the win32 fosi. Also I have increased
> the default tick rate to the maximum being the system tick.
> >
> > I've tested this with MinGW gcc 3.4.5. The patch is for the rtt-1.10
> branch.
> >
> > Kind regards,
> > Butch Slayer.
> > <win32-fosi.patch>--
>
>
> Looks like part of this patch replaces "config/check_depend.cmake"
> entirely. Why is that? Visually, the old and new look similar or the same.
> Stephen
>
Yes, I see. They are mostly white spaces. I've added a new patch.

Butch.