Test the `variorum_print_frequency` and `variorum_get_frequency_json` APIs on Mi300a, and add associated sampling to `var_monitor`.