Update config generation, join fix, sampler (#129)

- update timemory submodule
  - update ring_buffer to remove all dynamic allocation
  - update sampler + sampler allocator to use ring-buffers
  - fix papi_array and papi_vector labels
- fix common::join with char delimiter
- fix config generation without --advanced
This commit is contained in:
Jonathan R. Madsen
2022-08-08 07:03:24 -05:00
committato da GitHub
parent afa3df8523
commit ac5ce00561
4 ha cambiato i file con 43 aggiunte e 25 eliminazioni
@@ -82,6 +82,10 @@ ignore_setting(const Tp& _v)
category_view.count("settings::deprecated") == 0 &&
_v->get_categories().count("deprecated") > 0)
return true;
if(category_view.count("advanced") == 0 &&
category_view.count("settings::advanced") == 0 &&
_v->get_categories().count("advanced") > 0)
return true;
return false;
}
} // namespace
@@ -175,7 +179,8 @@ void pop(type_list<Tp...>)
type_list<std::string>{}));
}
void update_choices(std::shared_ptr<settings>);
void
update_choices(const std::shared_ptr<settings>&);
void
generate_config(std::string _config_file, const std::set<std::string>& _config_fmts,
@@ -406,7 +411,7 @@ generate_config(std::string _config_file, const std::set<std::string>& _config_f
_open(ofs, _fname, "text")
<< "# auto-generated by omnitrace-avail (version " << OMNITRACE_VERSION_STRING
<< ") on " << tim::get_local_datetime("%F @ %H:%M", &_time) << "\n\n"
<< _ss.str() << "\n";
<< _ss.str();
}
// restores the original serializer
@@ -416,7 +421,7 @@ generate_config(std::string _config_file, const std::set<std::string>& _config_f
}
void
update_choices(std::shared_ptr<settings> _settings)
update_choices(const std::shared_ptr<settings>& _settings)
{
std::vector<info_type> _info = get_component_info<TIMEMORY_NATIVE_COMPONENTS_END>();