@@ -99,7 +99,7 @@ void make_strings(const Config& cfg)
99
99
}
100
100
}
101
101
102
- void record_globals (const Config& cfg, int threads, const cali::ConfigManager:: argmap_t & extra_kv )
102
+ void record_globals (const Config& cfg, int threads)
103
103
{
104
104
#ifdef CALIPER_HAVE_ADIAK
105
105
adiak::value (" perftest.tree_width" , cfg.tree_width );
@@ -118,9 +118,6 @@ void record_globals(const Config& cfg, int threads, const cali::ConfigManager::a
118
118
adiak::clustername ();
119
119
adiak::hostname ();
120
120
121
- for (auto & p : extra_kv)
122
- adiak::value (p.first , p.second );
123
-
124
121
for (size_t p = 0 ; cali_perftest_build_metadata[p][0 ]; ++p)
125
122
adiak::value (cali_perftest_build_metadata[p][0 ], cali_perftest_build_metadata[p][1 ]);
126
123
@@ -180,11 +177,9 @@ int main(int argc, char* argv[])
180
177
return 2 ;
181
178
}
182
179
183
- cali::ConfigManager::argmap_t extra_kv;
184
-
185
180
cali::ConfigManager mgr;
186
181
mgr.set_default_parameter (" aggregate_across_ranks" , " false" );
187
- mgr.add (args.get (" profile" , " " ).c_str (), extra_kv );
182
+ mgr.add (args.get (" profile" , " " ).c_str ());
188
183
189
184
if (mgr.error ())
190
185
std::cerr << " Profiling config error: " << mgr.error_msg () << std::endl;
@@ -206,7 +201,7 @@ int main(int argc, char* argv[])
206
201
cfg.channels = std::max (std::stoi (args.get (" channels" , " 1" )), 1 );
207
202
208
203
// set global attributes before other Caliper initialization
209
- record_globals (cfg, threads, extra_kv );
204
+ record_globals (cfg, threads);
210
205
211
206
make_strings (cfg);
212
207
0 commit comments