Changeset 2543 for trunk


Ignore:
Timestamp:
Oct 24, 2012, 12:17:26 PM (6 years ago)
Author:
ksherdy
Message:

Updated perfsec.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/perflib/perfsec.h

    r2481 r2543  
    104104       
    105105#elif defined(PAPI)
     106/*  Quick and dirty hack to gather multiple events. - Oct 17. 2012.
    106107
    107108        //#PAPI_L1_DCM 
     
    139140                                int Events[1] = {PAPI_TOT_CYC };
    140141        #endif
    141 
     142*/
    142143        #define PERF_SEC_INIT(timer) \
    143                         timer = new CC(Events,1,0)
     144                        timer = new CC(PAPI_EVENTS, PAPI_EVENTS_COUNT, 0)
    144145
    145146        #define PERF_SEC_ADD_PARAM(timer, name, value) \
Note: See TracChangeset for help on using the changeset viewer.