Weight and drivetrain efficiency also affect a car's acceleration. I'm guessing the original poster is wondering why BMW's horsepower numbers seem so low. When magazine racing (racing cars in hypothetical situations based on published horsepower numbers), it looks like BMW's would be slow as crap compared to its competitors. But, looking at the actual 0-60 numbers magazines get, BMWs do quite well. Causes lots of confusions as to what exactly a BMW is putting out.
So basically, a BMW is supposed to get those numbers. Yes they do seem low. No, horsepower isn't the only thing that matters when accelerating. Weight differences btw the cars, suspension setup, and drivetrain efficiency are common things people forget to consider. Also, some manufacturers are more conservative with their published numbers than others. Dyno numbers are out there. The 3 series' most commonly cited competitor (right now) is the G35. Since the actual 0-60s are similar, people try and explain away the huge horsepower difference btw the two. The two most common guesses are either 1) Nissan's drivetrain are horribly inefficient/BMWs are damn efficient or 2) one or both manufacturers are fudging the numbers in one direction or the other.