From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7442 invoked by alias); 1 Apr 2004 23:37:20 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 7418 invoked from network); 1 Apr 2004 23:37:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 1 Apr 2004 23:37:16 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i31NbFjj022656 for ; Thu, 1 Apr 2004 18:37:15 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i31NbFj32174 for ; Thu, 1 Apr 2004 18:37:15 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id i31NbFf7001744 for ; Thu, 1 Apr 2004 18:37:15 -0500 Received: from redhat.com (topaz.toronto.redhat.com [172.16.14.227]) by touchme.toronto.redhat.com (Postfix) with ESMTP id E1DCE800169 for ; Thu, 1 Apr 2004 18:37:14 -0500 (EST) Message-ID: <406CA7AA.6070207@redhat.com> Date: Thu, 01 Apr 2004 23:37:00 -0000 From: Dave Brolley Organization: Red Hat Canada, Ltd User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 MIME-Version: 1.0 To: sid@sources.redhat.com Subject: [patch] Access methods for CacheCfg Content-Type: multipart/mixed; boundary="------------020307060802090600040200" X-SW-Source: 2004-q2/txt/msg00000.txt.bz2 This is a multi-part message in MIME format. --------------020307060802090600040200 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 95 I've committed the attached patch which adds two access methods to the CacheCfg class. Dave --------------020307060802090600040200 Content-Type: text/plain; name="sid-cachecfg.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sid-cachecfg.patch.txt" Content-length: 702 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; --------------020307060802090600040200--