public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [patch] Access methods for CacheCfg
@ 2004-04-01 23:37 Dave Brolley
  0 siblings, 0 replies; only message in thread
From: Dave Brolley @ 2004-04-01 23:37 UTC (permalink / raw)
  To: sid

[-- 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-01 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-01 23:37 [patch] Access methods for CacheCfg Dave Brolley

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).