Changeset 16 for trunk/src/monitor.cpp


Ignore:
Timestamp:
Jun 24, 2009, 4:56:12 PM (15 years ago)
Author:
guillaumeb
Message:

localisation du problème

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/monitor.cpp

    r5 r16  
    1818void Monitor::make_my_report()
    1919{
    20     cout << dec << endl <<
    21         "Report : " << endl <<
    22         "L1 total requests : " << l1hits + l1misses << endl <<
    23         "         hits     : " << l1hits << endl <<
    24         "         misses   : " << l1misses << endl;
    25 
     20    if (activate) {
     21        cout << dec << endl <<
     22            "Report : " << endl <<
     23            "L1 total requests : " << l1hits + l1misses << endl <<
     24            "         hits     : " << l1hits << endl <<
     25            "         misses   : " << l1misses << endl;
     26    }
    2627}
Note: See TracChangeset for help on using the changeset viewer.