add flush_count jtag queue profiling feature