[Simh] clang (was Re: XCode and LTO)

Peter Svensson psvsimh at psv.nu
Sat Apr 28 15:28:16 EDT 2012


On Sat, 28 Apr 2012, Sergey Oboguev wrote:

> > From: Peter Svensson <psvsimh at psv.nu>
> > What is the rom code comparing against and why do we not do the delay compared 
> >to that? 
> >
> > If it is against the real time clock, would not nanosleep() or just polling the 
> >time be more portable?
> 
> Time flow quantum exposed to applications in a portable way is not  in the 
> nanosecond range, but is in the range of several milliseconds.
> Delay has to be performed to a small fraction of this quantum.

Hi,

What is the rom code able to check instruction cycle against? Real time 
clock imported to the simulation from the host? I.e what is it that makes 
the wall time of the host matter to the simulation?

Peter






More information about the Simh mailing list