On Fri, Mar 28, 2003 at 07:00:34PM +0100, Jean-Marc Lasgouttes wrote: > How should this data be read? Can oprofile provide a call graph like > gprof does?
Arggh ! [1] > 0820afa4 1161 1.53197 operator==(LyXKeySym const&, LyXKeySym const&) > 08206040 1220 1.60982 string_to_qkey(string const&) > 083021e8 1364 1.79983 RunCommand(string const&) > > Why are they so high in the top abusers (parsing keysyms should be > much easier than loading UserGuide...)? I guess the fact that you > removed some debug message is the reason why the times are better? Yes, although operator== didn't have any debug anyway. I suspect we could fix this in a much smarter way somehow. 1239 int c = fgetc(inf); 1240 while (c != EOF) { 1241 ret += static_cast<char>(c); 1242 c = fgetc(inf); 1243 } is probably not too smart. At least, we could use getc() not fgetc regards john