public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Ben Elliston <bje@redhat.com>
Cc: sid@sources.redhat.com
Subject: Re: modeling latency (fwd)
Date: Sun, 24 Jun 2001 17:46:00 -0000	[thread overview]
Message-ID: <20010624204557.B19255@redhat.com> (raw)
In-Reply-To: <15158.32871.322836.589521@scooby.brisbane.redhat.com>

Hi -

bje wrote:

: [...]
: I agree that packing the bus::status struct should be considered
: important for performance, given that it is likely passed by value.

Right.

: As you suggest, there is a g++ extension to help with this: packed
: enums, but was never implemented.  [...]

There may be other relevant extensions: bitfields?

In any case, until g++ is able to help us pack this structure, you
could arrange the code to do all this, by storing the status enum
explicitly within a host_int_2 (or even host_int_1) field, accompanied
by the appropriate casts.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7NonFVZbdDOm/ZT0RAtT2AJ4xnUQoR+x/jinFDkx0QnT2nEYY4ACdGiXp
kEt4LJvjicTSxyeXpid7cfU=
=+381
-----END PGP SIGNATURE-----

  reply	other threads:[~2001-06-24 17:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-17 20:28 Ben Elliston
2001-06-20 23:23 ` Ben Elliston
2001-06-21  4:21   ` Frank Ch. Eigler
2001-06-24 17:06     ` Ben Elliston
2001-06-24 17:46       ` Frank Ch. Eigler [this message]
2001-06-24 18:52         ` Ben Elliston

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=20010624204557.B19255@redhat.com \
    --to=fche@redhat.com \
    --cc=bje@redhat.com \
    --cc=sid@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).