public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Dave Brolley <brolley@redhat.com>
To: sid@sources.redhat.com
Subject: [patch] Access methods for CacheCfg
Date: Thu, 01 Apr 2004 23:37:00 -0000	[thread overview]
Message-ID: <406CA7AA.6070207@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

I've committed the attached patch which adds two access methods to the 
CacheCfg class.

Dave


[-- Attachment #2: sid-cachecfg.patch.txt --]
[-- Type: text/plain, Size: 702 bytes --]

Index: sid/main/dynamic/commonCfg.h
===================================================================
RCS file: /cvs/src/src/sid/main/dynamic/commonCfg.h,v
retrieving revision 1.4
diff -c -p -r1.4 commonCfg.h
*** sid/main/dynamic/commonCfg.h	22 Mar 2004 21:28:55 -0000	1.4
--- sid/main/dynamic/commonCfg.h	1 Apr 2004 23:31:58 -0000
*************** public:
*** 60,65 ****
--- 60,67 ----
    void set_size (sid::host_int_4 sz);
    void set_line_size (sid::host_int_4 sz);
    void set_way (sid::host_int_4 sz);
+   sid::host_int_4 get_size () const { return my_size; }
+   sid::host_int_4 get_line_size () const {return my_line_size; }
   protected:
    void compute_comptype ();
    string my_assoc;

                 reply	other threads:[~2004-04-01 23:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=406CA7AA.6070207@redhat.com \
    --to=brolley@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).