diff options
| author | tgrogers <[email protected]> | 2014-10-10 11:19:09 -0700 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2014-10-10 11:19:09 -0700 |
| commit | 84fe1b186ef98c8820efe4a75553a5bb32b9c097 (patch) | |
| tree | 0071270684430d5b5a38c679798bdc6724d06951 /src/gpuwattch/cacti/nuca.cc | |
| parent | 1757433af06e3541f17c22afa59f4a096a96f4b4 (diff) | |
| parent | 540871e0107d19a069d8b574516190445e6b54c6 (diff) | |
Merge pull request #4 from qqldd/upstream_master
Add .gitignore file to ignore files generated after building + some MAC compilation issues,
Diffstat (limited to 'src/gpuwattch/cacti/nuca.cc')
| -rw-r--r-- | src/gpuwattch/cacti/nuca.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gpuwattch/cacti/nuca.cc b/src/gpuwattch/cacti/nuca.cc index 9518791..f31b0c8 100644 --- a/src/gpuwattch/cacti/nuca.cc +++ b/src/gpuwattch/cacti/nuca.cc @@ -42,8 +42,13 @@ unsigned int MIN_BANKSIZE=65536; int cont_stats[2 /*l2 or l3*/][5/* cores */][ROUTER_TYPES][7 /*banks*/][8 /* cycle time */]; - Nuca::Nuca( - TechnologyParameter::DeviceType *dt = &(g_tp.peri_global) +Nuca::Nuca():deviceType(&(g_tp.peri_global)) +{ + init_cont(); +} + +Nuca::Nuca( + TechnologyParameter::DeviceType *dt ):deviceType(dt) { init_cont(); |
