masahi commented on a change in pull request #10234:
URL: https://github.com/apache/tvm/pull/10234#discussion_r810789466



##########
File path: src/runtime/pipeline/pipeline_executor.cc
##########
@@ -79,8 +79,10 @@ PackedFunc PipelineExecutor::GetFunction(const std::string& 
name,
         [sptr_to_self, this](TVMArgs args, TVMRetValue* rv) { *rv = 
this->GetOutput(); });
   } else if (name == "run") {
     return PackedFunc([sptr_to_self, this](TVMArgs args, TVMRetValue* rv) { 
this->Run(args[0]); });
-  } else if (name == "stop") {
-    return PackedFunc([sptr_to_self, this](TVMArgs args, TVMRetValue* rv) { 
this->Stop(); });
+  } else if (name == "get_statistic_pipe_execute_number") {
+    return PackedFunc([sptr_to_self, this](TVMArgs args, TVMRetValue* rv) {
+      *rv = this->PipelineStatisticPipeExecuteNumber();

Review comment:
       As I said, it's not clear what `Number` means. How about 
`PipelineStatisticPipeExecuterCount()`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to