Statistics
Tools and Testing > Statistics
stats [options] reads/resets stats (all cores if none were mentioned)
-a App core
-m Mac core
-u Uphy core
-j outputs stats in a json format
-p outputs stats in a human-readable json format
-r resets stats for mentioned cores (resets all if none
were mentioned)
-f "key" filters stats according to the given key (case
sensitive)
-s filename the location of the firmware ELF
The stats command dumps the chip statistics from the app, mac and phy cores. Individual statistics of different core can be obtained by passing the following arguments to morsectrl stats:
- -m (for mac)
- -u (for phy)
- -a (for app)
If none of the above arguments is given then morsectrl will dump the statistics from all the cores. Additionally the -r argument can be used to reset the chip statistics. This will reset the stats on all the cores. The -f command can be used to filter out any stats based on the key provided. The table below outlines all statistics dumped by the morsectrl stats command.
NOTE: During power save operation the PHY statistics will reset each cycle.
Please note that morsectrl is designed for engineering testing and evaluation purposes only.
Changing the configuration of the device can break regulatory compliance.