RE: How to test speed of a gdbserver?
"Aktemur, Tankut Baris via Gdb" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <SN6PR11MB289373FA77A43CD72BFFF8E8C4819@SN6PR11MB2893.namprd11.prod.outlook.com> |
> -----Original Message----- > From: Gdb <[email protected]> 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