This is an automated email from the ASF dual-hosted git repository.

mshr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 0b59b72152 [Fix] Include `<chrono>` for `std::chrono` (#17697)
0b59b72152 is described below

commit 0b59b72152a37933b4d5a5c1fa0979b050583140
Author: Ruihang Lai <[email protected]>
AuthorDate: Sun Mar 2 21:31:32 2025 -0500

    [Fix] Include `<chrono>` for `std::chrono` (#17697)
    
    This PR fixes an include problem in profiler.cc, which uses namespace
    `std::chrono` without including the header. This leads to compilation
    failure on Windows platform.
---
 src/meta_schedule/profiler.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/meta_schedule/profiler.cc b/src/meta_schedule/profiler.cc
index 2f955ebf09..98aaef59a5 100644
--- a/src/meta_schedule/profiler.cc
+++ b/src/meta_schedule/profiler.cc
@@ -17,6 +17,7 @@
  * under the License.
  */
 #include <algorithm>
+#include <chrono>
 
 #include "./utils.h"
 

Reply via email to