• Pietro Fezzardi's avatar
    arch-sim: new simulator diagnostics and config · 717a8f5e
    Pietro Fezzardi authored
    diagnostics:
    
    For testing purposes we can't just read the ofm value
    printed out by the slave, because that's only the offset
    perceived by the slave and can be wrong. We need instead to
    print out the offset obtained subtracting the real time of
    the master from the real time of the slave.
    To print out the ofm we use the "ext" flag of pp_diag.
    The ofm is printed only when the slave gets a
    DelayResp message from the master.
    A new tool to strip ofm out of simulator log is provided
    
    config:
    
    now the max number of simulated ptp iterations can be configured.
    previously one could set the number of seconds to simulate.
    this is not possible anymore.
    717a8f5e
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-sim Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
configs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
scripts Loading commit data...
time-bare Loading commit data...
time-sim Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...