> What does it mean when the total CPU time reported by gprof is quite > different from the total CPU time measured by the operating system? > > Or does this just tell us that 90% of the time was spend in library > routines and is therefore off the books? Most likely, yes. Link your program statically to get better results. Segher