Jun 01, 2007 17:15
So. Apple ship GCC 4 with MacOS X 10.4. And GNU Make. It's basically a GNU development environment, even if they'd rather tuck it behind XCode.
Yet they provide BSD gprof. Apparently, BSD gprof doesn't support things like '-l', or '-A'. Thanks to BSD gprof, I have just wasted an hour of my life, to learn the following gem (this is as granular as it goes):
% cumulative self self total
time seconds seconds calls ms/call ms/call name
100.0 1276.43 1276.43 746 1711.03 1711.03 _upstr_levenshtein_inner [2]Thanks, Apple. Thapple.
computersarebroken,
mac