Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christoph Bartoschek <bartoschek@or.uni-bonn.de>
To: gdb@sourceware.org
Subject: Re: Differences between program runs with and without gdb
Date: Wed, 10 Jan 2007 14:59:00 -0000	[thread overview]
Message-ID: <200701101559.02604.bartoschek@or.uni-bonn.de> (raw)
In-Reply-To: <45A4FDF9.5070208@de.ibm.com>

Am Mittwoch, 10. Januar 2007 15:53 schrieb Markus Deuling:
> Hi Christoph,
>
> Christoph Bartoschek schrieb:
> > both parts do not emplain my problem. First the program is single
> > threaded and uses no signals. Second it does not measure time and behaves
> > deterministic. Therefore performance differences should have no effect.
>
> how do you measure that gdb makes your app call memory allocation less
> often ?

Just print a string each time the allocation is called. And then diff the 
normal run and the gdb run.

Christoph


  reply	other threads:[~2007-01-10 14:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10 14:18 Christoph Bartoschek
2007-01-10 14:35 ` Joel Brobecker
2007-01-10 14:49   ` Christoph Bartoschek
2007-01-10 14:53     ` Markus Deuling
2007-01-10 14:59       ` Christoph Bartoschek [this message]
2007-01-10 14:57     ` Andrew STUBBS
2007-01-10 14:59       ` Christoph Bartoschek
2007-01-10 15:29         ` Andrew STUBBS
2007-01-10 16:21 ` Christoph Bartoschek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701101559.02604.bartoschek@or.uni-bonn.de \
    --to=bartoschek@or.uni-bonn.de \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox