Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tiny changes

  • Loading branch information...
commit 78365184cbc5a23607723cb0aea8e227c4eaf11e 1 parent 7200b5a
Siddardha Garimella authored September 28, 2011

Showing 2 changed files with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 6  Cache.h
  2. 4  Set.cpp
6  Cache.h
@@ -45,7 +45,7 @@ class Cache {
45 45
 		int cache_size; // Size of cache in bytes
46 46
 		int block_size;	// Size of block in bytes
47 47
 		int set_size;	// Size of set in bytes
48  
-		int assoc;	// Associativity
  48
+		int assoc;		// Associativity
49 49
 
50 50
 		int num_words;	// Number of words per block
51 51
 		int num_sets;	// Number of sets
@@ -59,9 +59,9 @@ class Cache {
59 59
 		int tag_mul;	// Number to be bitwise-multiplied with location to get tag index
60 60
 		int word_mul;	// Number to be bitwise-multiplied with location to get word index
61 61
 
62  
-		int tag_cap_mul;	// Number to be bitwise-multiplied with location to get tag index
  62
+		int tag_cap_mul;// Number to be bitwise-multiplied with location to get tag index
63 63
 
64  
-		int hits;	// Number of hits
  64
+		int hits;		// Number of hits
65 65
 		int misses[4];	// Number of misses
66 66
 };
67 67
 
4  Set.cpp
@@ -2,9 +2,9 @@
2 2
 #include "Set.h"
3 3
 
4 4
 Set::Set(int assoc, int block_size) {
5  
-	this->assoc		= assoc;
  5
+	this->assoc			= assoc;
6 6
 	this->block_size	= block_size;
7  
-	this->_counter 	= 0;
  7
+	this->_counter 		= 0;
8 8
 
9 9
 	// Initialising dirty and Blocks
10 10
 	this->dirty = new bool[assoc];

0 notes on commit 7836518

Please sign in to comment.
Something went wrong with that request. Please try again.