9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] An acid-question
Date: Sat, 15 Jul 2006 07:39:27 -0500	[thread overview]
Message-ID: <edf1ac0aa3b09970139ff9b1b67d2dc4@quanstro.net> (raw)
In-Reply-To: <f922c3ebb9b910062887c323645bbc40@mail.gmx.net>

On Sat Jul 15 07:37:29 CDT 2006, sretzki@gmx.de wrote:
> > your loop test has an obiwan error:
> >
> > 		for(i=0;i <= inbyterate;i++) {
> >
> > should be
> > 		for(i = 0; i < inbyterate; i++);
> >
>
> heh.. 'oups' ;) .. Thanks Erik. Nevertheless, that is not the problem. Do you have an idea why acid does not 'see' i ? Or how I can investigate i?

i = j/2.  i'm still pretty sure that kenc is optimizing i away.  here's what i'd
do.  if samplerate is large (~10000), you need to make sure that data and datacopy
are not on the stack.  then run acid on the broken process and make sure you're
actually on the line expected and use i = j/2 to figure out what i is.

- erik


  reply	other threads:[~2006-07-15 12:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-15 10:55 Sascha Retzki
2006-07-15 11:22 ` erik quanstrom
2006-07-15 15:28   ` Sascha Retzki
2006-07-15 12:15     ` erik quanstrom
2006-07-15 12:36       ` Sascha Retzki
2006-07-15 12:39         ` erik quanstrom [this message]
2006-07-15 17:02         ` jmk
2006-07-15 17:09           ` Sascha Retzki

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=edf1ac0aa3b09970139ff9b1b67d2dc4@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).