In a sim config, can you increase the base thread rate 100x+ w/o it knowing
its been sped up?  Disable the RTOS scheduling entirely?  It would run all
the same calcs, same HAL, same gains/accel, just no RTOS pauses between
calls.  Basically count the # of base thread cycles, multiply what you told
it the base thread time was and there is your real run time.

To try and explain this with real world numbers.  On a fast machine the
base thread, scheduled for 1kHz (=1ms) might take 5us to compute? (Im just
guessing.)  After the 5us is up, the RTOS doesn't call it again for another
95us.  Yet if you called a new base thread as soon as the last one was
finished you'd see a ~20x speed increase.  If it took 200k cycles, then the
real time would have been 200k*1ms=200s on the real machine.  Is there a
way get the sim to run as fast as possible?  In essence, run the base
thread with no rtos?

SMD

On Thu, Oct 13, 2016 at 7:41 AM, andy pugh <bodge...@gmail.com> wrote:

> On 13 October 2016 at 04:23,  <dan...@austin.rr.com> wrote:
> > Is there a better way, like
>
> Possibly. You could try settting up one of the sim configs with 100x
> your machine limits. (maybe even 1000x)
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to