Loading runtime/qrt/pass_manager.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -161,8 +161,8 @@ std::string PassStat::toString(bool shortForm) const { std::stringstream ss; const std::string separator(40, '*'); ss << separator << "\n"; ss << std::string((separator.size() - passName.size()) / 2, ' ') << passName << "\n"; ss << std::string((separator.size() - passName.size() - kernelName.size()) / 2, ' ') << passName << " -- " << kernelName << "\n"; ss << separator << "\n"; ss << " - Elapsed time: " << wallTimeMs << " [ms]\n"; ss << " - Number of Gates Before: " << countNumberOfGates(gateCountBefore) Loading runtime/qrt/pass_manager.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ namespace internal { struct PassStat { // Name of the pass std::string passName; std::string kernelName; // Count per gate std::unordered_map<std::string, int> gateCountBefore; std::unordered_map<std::string, int> gateCountAfter; Loading Loading
runtime/qrt/pass_manager.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -161,8 +161,8 @@ std::string PassStat::toString(bool shortForm) const { std::stringstream ss; const std::string separator(40, '*'); ss << separator << "\n"; ss << std::string((separator.size() - passName.size()) / 2, ' ') << passName << "\n"; ss << std::string((separator.size() - passName.size() - kernelName.size()) / 2, ' ') << passName << " -- " << kernelName << "\n"; ss << separator << "\n"; ss << " - Elapsed time: " << wallTimeMs << " [ms]\n"; ss << " - Number of Gates Before: " << countNumberOfGates(gateCountBefore) Loading
runtime/qrt/pass_manager.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ namespace internal { struct PassStat { // Name of the pass std::string passName; std::string kernelName; // Count per gate std::unordered_map<std::string, int> gateCountBefore; std::unordered_map<std::string, int> gateCountAfter; Loading