File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,18 @@ namespace {
7979 const_iterator end () const { return children_.end (); }
8080
8181 void print (std::ostream& os) const {
82- // TODO: add printout of HardwareResourcesDescription
82+ auto const & hwresources = config_. hardwareResourcesDescription ();
8383 os << config_.processName () << " '" << config_.releaseVersion () << " ' [" << simpleId_ << " ] ("
84- << config_.parameterSetID () << " )" << std::endl;
84+ << config_.parameterSetID () << " )"
85+ << " (" << hwresources.microarchitecture ;
86+ if (not hwresources.selectedAccelerators .empty ()) {
87+ os << " ; " << hwresources.selectedAccelerators .front ();
88+ for (auto it = hwresources.selectedAccelerators .begin () + 1 ; it != hwresources.selectedAccelerators .end ();
89+ ++it) {
90+ os << " ," << *it;
91+ }
92+ }
93+ os << " )" << std::endl;
8594 }
8695
8796 void printHistory (std::string const & iIndent = std::string(" " )) const ;
You can’t perform that action at this time.
0 commit comments