##// END OF EJS Templates
Fixed again CPU usage measurement...
Fixed again CPU usage measurement Previous fix was still wrong, now we call all the time rtems_cpu_usage_reset to only get stats since last measurement. All previous versions were also wrong since they use to send cpu usage with 100=100% instead of 255=100%.

File last commit:

r176:2e8a1244670b VHDL_0_1_28
r381:a9b894b0ab6a 3.2.0.19 No PWD scrub with...
Show More
LFRControlPlugin_reload_all.py
17 lines | 502 B | text/x-python | PythonLexer
/ python_scripts / LFRControlPlugin_reload_all.py
# LOAD TIMEGEN USING LINK 2
SpwPlugin0.StarDundeeSelectLinkNumber( 2 )
dsu3plugin0.openFile("/opt/DEV_PLE/timegen-qt/bin/timegen")
dsu3plugin0.loadFile()
dsu3plugin0.run()
# LOAD FSW USING LINK 1
SpwPlugin0.StarDundeeSelectLinkNumber( 1 )
dsu3plugin0.openFile("/opt/DEV_PLE/FSW-qt/bin/fsw")
dsu3plugin0.loadFile()
dsu3plugin0.run()
# START SENDING TIMECODES AT 1 Hz
SpwPlugin0.StarDundeeStartTimecodes( 1 )
# it is possible to change the time code frequency
#RMAPPlugin0.changeTimecodeFrequency(2)