The function ba_get_flow_stats() retrieves statistics information about the flows associated with a given class for a given managed interface.