Embedded system for in-line ultrasound velocity profile detection