Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion champsim_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
},

"physical_memory": {
"model": "integrated",
"model": "ramulator",
"config": "ramulator.yaml",
"frequency": 3200,
"channels": 1,
"ranks": 2,
Expand Down
1 change: 1 addition & 0 deletions dram_controller/ramulator/dram_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -622,3 +622,4 @@ void MEMORY_CONTROLLER::print_deadlock()
{
}
// LCOV_EXCL_STOP

1 change: 1 addition & 0 deletions hammer_test_0_0.hp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0 214
1 change: 1 addition & 0 deletions hammer_test_0_0.hr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0 296
Empty file added hammer_test_0_0.hw
Empty file.
Empty file added hammer_test_0_0.hwb
Empty file.
157 changes: 157 additions & 0 deletions hammer_test_0_0.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inc/vmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ class VirtualMemory
std::pair<champsim::address, champsim::chrono::clock::duration> get_pte_pa(uint32_t cpu_num, champsim::page_number vaddr, std::size_t level);
};

#endif
#endif
311 changes: 311 additions & 0 deletions power_consumption_rates_PBPI.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
Rate for instruction 0: 83.3333%
Rate for instruction 1: 50%
Rate for instruction 2: 44.4444%
Rate for instruction 3: 54.1667%
Rate for instruction 4: 56.6667%
Rate for instruction 5: 50%
Rate for instruction 6: 47.619%
Rate for instruction 7: 50%
Rate for instruction 8: 48.1481%
Rate for instruction 9: 45%
Rate for instruction 10: 48.4848%
Rate for instruction 11: 48.6111%
Rate for instruction 12: 47.4359%
Rate for instruction 13: 45.2381%
Rate for instruction 14: 46.6667%
Rate for instruction 15: 46.875%
Rate for instruction 16: 48.0392%
Rate for instruction 17: 49.0741%
Rate for instruction 18: 51.7544%
Rate for instruction 19: 54.1667%
Rate for instruction 20: 55.5556%
Rate for instruction 21: 53.7879%
Rate for instruction 22: 53.6232%
Rate for instruction 23: 56.25%
Rate for instruction 24: 57.3333%
Rate for instruction 25: 58.9744%
Rate for instruction 26: 59.2593%
Rate for instruction 27: 59.5238%
Rate for instruction 28: 59.1954%
Rate for instruction 29: 60.5556%
Rate for instruction 30: 61.2903%
Rate for instruction 31: 63.0208%
Rate for instruction 32: 63.6364%
Rate for instruction 33: 63.7255%
Rate for instruction 34: 64.2857%
Rate for instruction 35: 63.8889%
Rate for instruction 36: 64.4144%
Rate for instruction 37: 63.5965%
Rate for instruction 38: 63.6752%
Rate for instruction 39: 64.1667%
Rate for instruction 40: 63.0081%
Rate for instruction 41: 63.8889%
Rate for instruction 42: 63.1783%
Rate for instruction 43: 62.1212%
Rate for instruction 44: 61.4815%
Rate for instruction 45: 61.5942%
Rate for instruction 46: 62.0567%
Rate for instruction 47: 61.4583%
Rate for instruction 48: 61.2245%
Rate for instruction 49: 61.3333%
Rate for instruction 50: 61.7647%
Rate for instruction 51: 61.2179%
Rate for instruction 52: 60.6918%
Rate for instruction 53: 60.4938%
Rate for instruction 54: 60.6061%
Rate for instruction 55: 60.7143%
Rate for instruction 56: 60.8187%
Rate for instruction 57: 60.9195%
Rate for instruction 58: 60.7345%
Rate for instruction 59: 61.1111%
Rate for instruction 60: 61.2022%
Rate for instruction 61: 61.2903%
Rate for instruction 62: 61.6402%
Rate for instruction 63: 61.9792%
Rate for instruction 64: 61.5385%
Rate for instruction 65: 60.8586%
Rate for instruction 66: 60.9453%
Rate for instruction 67: 61.7647%
Rate for instruction 68: 62.0773%
Rate for instruction 69: 62.619%
Rate for instruction 70: 63.1455%
Rate for instruction 71: 62.7315%
Rate for instruction 72: 63.0137%
Rate for instruction 73: 62.6126%
Rate for instruction 74: 62.8889%
Rate for instruction 75: 62.5%
Rate for instruction 76: 62.7706%
Rate for instruction 77: 62.8205%
Rate for instruction 78: 62.6582%
Rate for instruction 79: 62.9167%
Rate for instruction 80: 62.7572%
Rate for instruction 81: 63.4146%
Rate for instruction 82: 63.253%
Rate for instruction 83: 63.2937%
Rate for instruction 84: 63.1373%
Rate for instruction 85: 62.9845%
Rate for instruction 86: 62.8352%
Rate for instruction 87: 62.5%
Rate for instruction 88: 62.5468%
Rate for instruction 89: 62.037%
Rate for instruction 90: 61.9048%
Rate for instruction 91: 61.9565%
Rate for instruction 92: 61.4695%
Rate for instruction 93: 61.5248%
Rate for instruction 94: 61.5789%
Rate for instruction 95: 61.8056%
Rate for instruction 96: 61.6838%
Rate for instruction 97: 61.7347%
Rate for instruction 98: 61.6162%
Rate for instruction 99: 61.6667%
Rate for instruction 100: 61.2211%
Rate for instruction 101: 61.2745%
Rate for instruction 102: 61.4887%
Rate for instruction 103: 61.2179%
Rate for instruction 104: 60.9524%
Rate for instruction 105: 61.0063%
Rate for instruction 106: 61.215%
Rate for instruction 107: 61.4198%
Rate for instruction 108: 61.7737%
Rate for instruction 109: 61.9697%
Rate for instruction 110: 61.8619%
Rate for instruction 111: 61.6071%
Rate for instruction 112: 61.3569%
Rate for instruction 113: 61.5497%
Rate for instruction 114: 61.5942%
Rate for instruction 115: 61.7816%
Rate for instruction 116: 61.6809%
Rate for instruction 117: 61.7232%
Rate for instruction 118: 61.6246%
Rate for instruction 119: 61.3889%
Rate for instruction 120: 61.2948%
Rate for instruction 121: 61.0656%
Rate for instruction 122: 60.7046%
Rate for instruction 123: 60.3495%
Rate for instruction 124: 60.1333%
Rate for instruction 125: 59.9206%
Rate for instruction 126: 59.5801%
Rate for instruction 127: 59.6354%
Rate for instruction 128: 59.6899%
Rate for instruction 129: 60%
Rate for instruction 130: 59.7964%
Rate for instruction 131: 59.596%
Rate for instruction 132: 59.6491%
Rate for instruction 133: 59.4527%
Rate for instruction 134: 59.1358%
Rate for instruction 135: 59.3137%
Rate for instruction 136: 59.6107%
Rate for instruction 137: 59.5411%
Rate for instruction 138: 59.7122%
Rate for instruction 139: 59.7619%
Rate for instruction 140: 59.8109%
Rate for instruction 141: 59.6244%
Rate for instruction 142: 59.6737%
Rate for instruction 143: 59.7222%
Rate for instruction 144: 59.4253%
Rate for instruction 145: 59.2466%
Rate for instruction 146: 59.2971%
Rate for instruction 147: 59.1216%
Rate for instruction 148: 59.2841%
Rate for instruction 149: 59.4444%
Rate for instruction 150: 59.713%
Rate for instruction 151: 59.5395%
Rate for instruction 152: 59.8039%
Rate for instruction 153: 59.632%
Rate for instruction 154: 59.3548%
Rate for instruction 155: 59.188%
Rate for instruction 156: 59.1295%
Rate for instruction 157: 59.0717%
Rate for instruction 158: 58.9099%
Rate for instruction 159: 58.6458%
Rate for instruction 160: 58.4886%
Rate for instruction 161: 58.2305%
Rate for instruction 162: 58.2822%
Rate for instruction 163: 58.435%
Rate for instruction 164: 58.6869%
Rate for instruction 165: 58.8353%
Rate for instruction 166: 58.6826%
Rate for instruction 167: 58.7302%
Rate for instruction 168: 58.4813%
Rate for instruction 169: 58.3333%
Rate for instruction 170: 58.0897%
Rate for instruction 171: 57.9457%
Rate for instruction 172: 57.7071%
Rate for instruction 173: 57.6628%
Rate for instruction 174: 57.7143%
Rate for instruction 175: 57.7652%
Rate for instruction 176: 57.7213%
Rate for instruction 177: 57.5843%
Rate for instruction 178: 57.3557%
Rate for instruction 179: 57.2222%
Rate for instruction 180: 57.0902%
Rate for instruction 181: 56.9597%
Rate for instruction 182: 56.9217%
Rate for instruction 183: 56.7935%
Rate for instruction 184: 56.5766%
Rate for instruction 185: 56.5412%
Rate for instruction 186: 56.4171%
Rate for instruction 187: 56.2057%
Rate for instruction 188: 56.0847%
Rate for instruction 189: 55.8772%
Rate for instruction 190: 55.8464%
Rate for instruction 191: 55.6424%
Rate for instruction 192: 55.5268%
Rate for instruction 193: 55.3265%
Rate for instruction 194: 55.1282%
Rate for instruction 195: 55.017%
Rate for instruction 196: 54.8223%
Rate for instruction 197: 54.7138%
Rate for instruction 198: 54.6064%
Rate for instruction 199: 54.5%
Rate for instruction 200: 54.3947%
Rate for instruction 201: 54.2079%
Rate for instruction 202: 54.3514%
Rate for instruction 203: 54.2484%
Rate for instruction 204: 54.065%
Rate for instruction 205: 53.8835%
Rate for instruction 206: 53.7842%
Rate for instruction 207: 53.9263%
Rate for instruction 208: 53.8278%
Rate for instruction 209: 53.7302%
Rate for instruction 210: 53.6335%
Rate for instruction 211: 53.4591%
Rate for instruction 212: 53.6776%
Rate for instruction 213: 53.5047%
Rate for instruction 214: 53.3333%
Rate for instruction 215: 53.5494%
Rate for instruction 216: 53.4562%
Rate for instruction 217: 53.2875%
Rate for instruction 218: 53.1963%
Rate for instruction 219: 53.1061%
Rate for instruction 220: 53.0166%
Rate for instruction 221: 52.8529%
Rate for instruction 222: 52.9148%
Rate for instruction 223: 52.753%
Rate for instruction 224: 52.8148%
Rate for instruction 225: 52.7286%
Rate for instruction 226: 52.7166%
Rate for instruction 227: 52.7047%
Rate for instruction 228: 52.6201%
Rate for instruction 229: 52.4638%
Rate for instruction 230: 52.3088%
Rate for instruction 231: 52.4425%
Rate for instruction 232: 52.5751%
Rate for instruction 233: 52.4929%
Rate for instruction 234: 52.695%
Rate for instruction 235: 52.613%
Rate for instruction 236: 52.6723%
Rate for instruction 237: 52.7311%
Rate for instruction 238: 52.7894%
Rate for instruction 239: 52.9861%
Rate for instruction 240: 52.9046%
Rate for instruction 241: 52.8237%
Rate for instruction 242: 52.6749%
Rate for instruction 243: 52.7322%
Rate for instruction 244: 52.6531%
Rate for instruction 245: 52.5068%
Rate for instruction 246: 52.4291%
Rate for instruction 247: 52.3522%
Rate for instruction 248: 52.2088%
Rate for instruction 249: 52.4%
Rate for instruction 250: 52.5232%
Rate for instruction 251: 52.5132%
Rate for instruction 252: 52.4374%
Rate for instruction 253: 52.3622%
Rate for instruction 254: 52.549%
Rate for instruction 255: 52.5391%
Rate for instruction 256: 52.3995%
Rate for instruction 257: 52.5194%
Rate for instruction 258: 52.4453%
Rate for instruction 259: 52.3718%
Rate for instruction 260: 52.4904%
Rate for instruction 261: 52.4173%
Rate for instruction 262: 52.2814%
Rate for instruction 263: 52.399%
Rate for instruction 264: 52.3899%
Rate for instruction 265: 52.4436%
Rate for instruction 266: 52.5593%
Rate for instruction 267: 52.6741%
Rate for instruction 268: 52.6022%
Rate for instruction 269: 52.4691%
Rate for instruction 270: 52.3985%
Rate for instruction 271: 52.3284%
Rate for instruction 272: 52.1978%
Rate for instruction 273: 52.3114%
Rate for instruction 274: 52.4848%
Rate for instruction 275: 52.4155%
Rate for instruction 276: 52.5872%
Rate for instruction 277: 52.518%
Rate for instruction 278: 52.6284%
Rate for instruction 279: 52.5%
Rate for instruction 280: 52.4318%
Rate for instruction 281: 52.305%
Rate for instruction 282: 52.4735%
Rate for instruction 283: 52.4061%
Rate for instruction 284: 52.5146%
Rate for instruction 285: 52.6224%
Rate for instruction 286: 52.4971%
Rate for instruction 287: 52.4884%
Rate for instruction 288: 52.4221%
Rate for instruction 289: 52.4138%
Rate for instruction 290: 52.4628%
Rate for instruction 291: 52.5114%
Rate for instruction 292: 52.446%
Rate for instruction 293: 52.381%
Rate for instruction 294: 52.5424%
Rate for instruction 295: 52.5901%
Rate for instruction 296: 52.5253%
Rate for instruction 297: 52.4609%
Rate for instruction 298: 52.3411%
Rate for instruction 299: 52.5%
Rate for instruction 300: 52.4363%
Rate for instruction 301: 52.4834%
Rate for instruction 302: 52.5853%
Rate for instruction 303: 52.5219%
Rate for instruction 304: 52.623%
Rate for instruction 305: 52.6144%
Rate for instruction 306: 52.5516%
Rate for instruction 307: 52.7056%
Rate for instruction 308: 52.6969%
Rate for instruction 309: 52.6344%
Rate for instruction 310: 52.6795%
4 changes: 4 additions & 0 deletions power_consumption_rates_rasl.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Rate for instruction 0: 34.6154%
Rate for instruction 1: 25%
Rate for instruction 2: 19.2308%
Rate for instruction 3: 19.2308%
11 changes: 9 additions & 2 deletions ramulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ MemorySystem:
impl: FRFCFS
RefreshManager:
impl: AllBank
plugins:
plugins:
- ControllerPlugin: {impl: ChampSimStats}
- ControllerPlugin: {impl: HammerCounter,
output_file: hammer_test,
cycles_per_heartbeat: 1000000,
histogram_period: 100e-6,
refresh_period: 64e-3,
target_cycle: 0}

AddrMapper:
impl: RoRaCoBaBgCh
impl: RASL
Loading