blob: 5bc49b114429303765b79d1ba41e6e8c3d8b41cc [file] [log] [blame]
njnc9539842002-10-02 13:26:35 +00001
njn7cf0bd32002-06-08 13:36:03 +00002/*--------------------------------------------------------------------*/
3/*--- I1 cache simulation. ---*/
njn25cac76cb2002-09-23 11:21:57 +00004/*--- cg_sim_I1.c ---*/
njn7cf0bd32002-06-08 13:36:03 +00005/*--------------------------------------------------------------------*/
njn4f9c9342002-04-29 16:03:24 +00006
njn7cf0bd32002-06-08 13:36:03 +00007/*
njnc9539842002-10-02 13:26:35 +00008 This file is part of Cachegrind, a Valgrind skin for cache
9 profiling programs.
njn4f9c9342002-04-29 16:03:24 +000010
njn7cf0bd32002-06-08 13:36:03 +000011 Copyright (C) 2002 Nicholas Nethercote
12 njn25@cam.ac.uk
njn4f9c9342002-04-29 16:03:24 +000013
njn7cf0bd32002-06-08 13:36:03 +000014 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License as
16 published by the Free Software Foundation; either version 2 of the
17 License, or (at your option) any later version.
njn4f9c9342002-04-29 16:03:24 +000018
njn7cf0bd32002-06-08 13:36:03 +000019 This program is distributed in the hope that it will be useful, but
20 WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 General Public License for more details.
njn4f9c9342002-04-29 16:03:24 +000023
njn7cf0bd32002-06-08 13:36:03 +000024 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27 02111-1307, USA.
njn4f9c9342002-04-29 16:03:24 +000028
njn25e49d8e72002-09-23 09:36:25 +000029 The GNU General Public License is contained in the file COPYING.
njn7cf0bd32002-06-08 13:36:03 +000030*/
njn4f9c9342002-04-29 16:03:24 +000031
njn25cac76cb2002-09-23 11:21:57 +000032#include "cg_sim_gen.c"
njn4f9c9342002-04-29 16:03:24 +000033
njn7cf0bd32002-06-08 13:36:03 +000034CACHESIM(I1, { (*m1)++; cachesim_L2_doref(a, size, m1, m2); } );
njn4f9c9342002-04-29 16:03:24 +000035
njn7cf0bd32002-06-08 13:36:03 +000036/*--------------------------------------------------------------------*/
njn25cac76cb2002-09-23 11:21:57 +000037/*--- end cg_sim_gen.c ---*/
njn7cf0bd32002-06-08 13:36:03 +000038/*--------------------------------------------------------------------*/
njn4f9c9342002-04-29 16:03:24 +000039