How to test speed of a gdbserver?
Aktemur, Tankut Baris
tankut.baris.aktemur@intel.com
Mon Feb 22 11:00:50 GMT 2021
> -----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
More information about the Gdb
mailing list