diff options
| author | Tor Aamodt <[email protected]> | 2010-08-08 22:33:44 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-08 22:33:44 -0800 |
| commit | a22c87cf48cb64a264c0696e6749e85b2038e0cf (patch) | |
| tree | 06d9d7fab58467d69ff092b8447b9242ffc7c26f /src/gpgpu-sim/l2cache.h | |
| parent | 083f33e3580c2014a80a3e75e7e3c593588a526e (diff) | |
refactor: moving extern variable declarations into headers
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7172]
Diffstat (limited to 'src/gpgpu-sim/l2cache.h')
| -rw-r--r-- | src/gpgpu-sim/l2cache.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gpgpu-sim/l2cache.h b/src/gpgpu-sim/l2cache.h index 449d47a..11bef11 100644 --- a/src/gpgpu-sim/l2cache.h +++ b/src/gpgpu-sim/l2cache.h @@ -32,9 +32,9 @@ unsigned L2c_get_linesize( dram_t *dram_p ); // probe L2 cache for fullness int L2c_full( dram_t *dram_p ); -void L2c_push( dram_t *dram_p, mem_fetch_t *mf ); -mem_fetch_t* L2c_pop( dram_t *dram_p ); -mem_fetch_t* L2c_top( dram_t *dram_p ); +void L2c_push( dram_t *dram_p, struct mem_fetch *mf ); +struct mem_fetch* L2c_pop( dram_t *dram_p ); +struct mem_fetch* L2c_top( dram_t *dram_p ); void L2c_init_stat(); void L2c_update_stat( dram_t* dram_p); @@ -44,5 +44,9 @@ void L2c_print_debug(); void L2c_log(int task); void L2c_latency_log_dump(); -void L2c_options(option_parser_t opp); +void L2c_options(class OptionParser *opp); +extern unsigned L2_write_miss; +extern unsigned L2_write_hit; +extern unsigned L2_read_hit; +extern unsigned L2_read_miss; |
