Re:RE: How to test speed of a gdbserver?

mx via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Thank you!




------------------&nbsp;Original&nbsp;------------------
From:                                                                                                                        "Aktemur, Tankut Baris"                                                                                    <[email protected]&gt;;
Date:&nbsp;Mon, Feb 22, 2021 07:00 PM
To:&nbsp;"mx"<[email protected]&gt;;
Cc:&nbsp;"[email protected]"<[email protected]&gt;;
Subject:&nbsp;RE: How to test speed of a gdbserver?



&gt; -----Original Message-----
&gt; From: Gdb <[email protected]&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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.