27 std::filesystem::path filename;
28 std::set<cstring> selectedMetrics;
32 explicit ExportMetricsPass(
const std::filesystem::path &filename,
33 std::set<cstring> selectedMetrics,
Metrics &metricsRef)
34 : filename(filename), selectedMetrics(selectedMetrics), metrics(metricsRef) {
35 setName(
"ExportMetricsPass");
37 bool preorder(
const IR::P4Program * )
override;
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24