- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
Multiple translation units
        Mario Bielert edited this page Mar 19, 2018 
        ·
        2 revisions
      
    You can use multiple translations units just fine. However, you have to make sure, that scorep::plugin::name() is initialized in every translation unit. For the main translation unit, this is done with the SCOREP_METRIC_PLUGIN_CLASS macro. For any additional TU, you have to call:
  scorep::plugin::name() = "YOUR_PLUGIN_NAME";