File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ namespace Profiling {
140140 sendOverSocket (node.get_node ());
141141 }
142142
143- void Connector::restart (const std::string& file_path, int restart_id) {
143+ void Connector::restart (const std::string& file_path, int restart_id, const std::string& variableList ) {
144144 // std::cerr << "restarting gist, restart_id: " << restart_id << "\n";
145145
146146 message::Node dummy_node;
@@ -157,6 +157,8 @@ namespace Profiling {
157157 }
158158
159159 dummy_node.set_label (name);
160+ if (variableList.size () > 0 )
161+ dummy_node.set_info (variableList);
160162
161163 sendOverSocket (dummy_node);
162164 }
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ namespace Profiling {
5959 void connect ();
6060
6161 // sends START_SENDING message to the Profiler with a model name
62- void restart (const std::string& file_path = " " , int restart_id = -1 );
62+ void restart (const std::string& file_path = " " , int restart_id = -1 , const std::string& variableList = " " );
6363
6464 void done ();
6565
You can’t perform that action at this time.
0 commit comments