tkonolige commented on a change in pull request #7472:
URL: https://github.com/apache/tvm/pull/7472#discussion_r580517113
##########
File path: src/runtime/vm/profiler/vm.h
##########
@@ -51,7 +51,7 @@ class VirtualMachineDebug : public VirtualMachine {
const std::vector<ObjectRef>& args) final;
std::unordered_map<Index, std::string> packed_index_map_;
- std::unordered_map<Index, std::vector<double>> op_durations_;
+ std::unordered_map<Index, std::vector<TypedPackedFunc<int64_t()>>>
op_durations_;
Review comment:
I mean, it is. You just have to call the function to get the duration.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]