Forty-nine patients scheduled for TKA were prospectively randomized into the PIA group ( n = 25 ) or SNB group ( n = 24 ) and received general anesthesia with ultrasound-guided femoral nerve block ( FNB ) .