From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stan Shebs To: Andrew Cagney Cc: Mickael Gicquaire , "gdb@sources.redhat.com" Subject: Re: gdb benchmarking and profiling Date: Thu, 09 Aug 2001 12:30:00 -0000 Message-id: <3B72E4A2.FE7F707E@apple.com> References: <1010808103350.ZM10068@bristol.st.com> <3B717B0D.CD7CF49E@apple.com> <3B72E0BA.50007@cygnus.com> X-SW-Source: 2001-08/msg00089.html Andrew Cagney wrote: > > I don't know that bandwidth is still the most common problem (except > where an architecture has millions of registers :-). Rather it is > latency. Latency shows up in the number of round trips needed to > achieve anything useful. A few extra bytes here or there are in the > noise :-) That's a good point - it would be very interesting to add some machinery to monitor latency. Collect milli/microsecond timings just above low-level calls, accumulate the amount of time spent waiting on turnarounds. In fact, if you leave it in permanently and report it to users, it would help answer the why-is-stepping- slow-today-type questions. Stan