public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How to test speed of a gdbserver?
@ 2021-02-22 10:46 mx
  2021-02-22 11:00 ` Aktemur, Tankut Baris
  0 siblings, 1 reply; 3+ messages in thread
From: mx @ 2021-02-22 10:46 UTC (permalink / raw)
  To: gdb

I want to test my debugger speed. I know gdb will present the speed of downloading. Is there a way to test the speed of reading memory or registers?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: How to test speed of a gdbserver?
  2021-02-22 10:46 How to test speed of a gdbserver? mx
@ 2021-02-22 11:00 ` Aktemur, Tankut Baris
  2021-02-22 11:33   ` mx
  0 siblings, 1 reply; 3+ messages in thread
From: Aktemur, Tankut Baris @ 2021-02-22 11:00 UTC (permalink / raw)
  To: mx; +Cc: gdb

> -----Original Message-----
> From: Gdb <gdb-bounces@sourceware.org> On Behalf Of mx via Gdb
> Sent: Monday, February 22, 2021 11:47 AM
> 
> I want to test my debugger speed. I know gdb will present the speed of downloading. Is there
> a way to test the speed of reading memory or registers?

Hi,

The "maintenance time" command might be helpful.

(gdb) help maintenance time
Set the display of time usage.
If nonzero, will cause the execution time for each command to be
displayed, following the command's output. 
(gdb) maintenance time 1
(gdb) print "12345"
2021-02-22 11:57:15.336 - command started
$1 = "12345"
2021-02-22 11:57:15.337 - command finished
Command execution time: 0.000734 (cpu), 0.000726 (wall)
(gdb)


-Baris


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:RE: How to test speed of a gdbserver?
  2021-02-22 11:00 ` Aktemur, Tankut Baris
@ 2021-02-22 11:33   ` mx
  0 siblings, 0 replies; 3+ messages in thread
From: mx @ 2021-02-22 11:33 UTC (permalink / raw)
  To: Aktemur, Tankut Baris; +Cc: gdb

Thank you!




------------------&nbsp;Original&nbsp;------------------
From:                                                                                                                        "Aktemur, Tankut Baris"                                                                                    <tankut.baris.aktemur@intel.com&gt;;
Date:&nbsp;Mon, Feb 22, 2021 07:00 PM
To:&nbsp;"mx"<mxmxmx0429@qq.com&gt;;
Cc:&nbsp;"gdb@sourceware.org"<gdb@sourceware.org&gt;;
Subject:&nbsp;RE: How to test speed of a gdbserver?



&gt; -----Original Message-----
&gt; From: Gdb <gdb-bounces@sourceware.org&gt; On Behalf Of mx via Gdb
&gt; Sent: Monday, February 22, 2021 11:47 AM
&gt; 
&gt; I want to test my debugger speed. I know gdb will present the speed of downloading. Is there
&gt; a way to test the speed of reading memory or registers?

Hi,

The "maintenance time" command might be helpful.

(gdb) help maintenance time
Set the display of time usage.
If nonzero, will cause the execution time for each command to be
displayed, following the command's output. 
(gdb) maintenance time 1
(gdb) print "12345"
2021-02-22 11:57:15.336 - command started
$1 = "12345"
2021-02-22 11:57:15.337 - command finished
Command execution time: 0.000734 (cpu), 0.000726 (wall)
(gdb)


-Baris


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de&gt;
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva&nbsp; 
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-22 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 10:46 How to test speed of a gdbserver? mx
2021-02-22 11:00 ` Aktemur, Tankut Baris
2021-02-22 11:33   ` mx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).