Short answer is that jets measure fuel flow in lbs, piston engines measure it in gallons. In reality both types of engines power is proportional to mass flow through the engine, so even piston engines should measure flow in lbs/min, but gallons are the traditional method.
One of these days I'll get around to writing up how to calculate mass flow and hp for a piston engine, but I'm too lazy to do it right now. "Not Much of an Engineer" but Sir Stanley Hooker has a fairly easy to follow method for doing it, which is how I've been doing it. There is also a more complicated NACA method for doing the same thing, which I'm still trying to digest and compare to Hooker's method.
Greg Shaw