[flang-commits] [flang] [Flang][runtime] Distinguish CPU time and elapsed time for cpu_time and system_clock (PR #96652)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Jun 27 03:00:44 PDT 2024


kiranchandramohan wrote:

> I am bit worried about the C++ runtime dependency that this could bring if `std::chrono::high_resolution_clock` is not header only in some C++ standard library. Did check that? Could you add a system_clock test in `test/Runtime/no-cpp-dep.c`?

Yeah, using chrono related stuff has always ended up with some dependency. Most recently it came in as part of Sleep and it was removed in https://github.com/llvm/llvm-project/pull/84911.

https://github.com/llvm/llvm-project/pull/96652


More information about the flang-commits mailing list