Add TimerWload
The effect of PeriodicWload(guaranteed_time='sleep')
can be seen with:
from lisa.platforms.platinfo import PlatformInfo
from lisa.wlgen.rta import *
task1 = RTAPhase(
prop_wload=PeriodicWload(
duty_cycle_pct=10,
period=16e-3,
duration=1,
# guaranteed_time='period',
guaranteed_time='sleep',
),
)
profile = {'task1': task1}
plat_info = PlatformInfo.from_yaml_map('./doc/traces/plat_info.yml')
conf = RTAConf.from_profile(profile, plat_info=plat_info)
print(conf.json)