pytorch/c10
Edward Z. Yang b84f94f6a3 Restore timestamps on C++ logs without glog (#121384)
It looks like it was commented out because the original implementation was not sufficiently portable. I had to do some rewrites to the innards to make it no portable. No Windows nanoseconds support because I'm lazy.

I tested by running `build/bin/TCPStoreTest` and observing the log messages there.  I am actually not sure how to look at the log messages from Python though.

Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/121384
Approved by: https://github.com/Skylion007, https://github.com/malfet
2024-03-12 17:01:32 +00:00
..
benchmark increase clang-tidy coverage to more c10 source files (#102902) 2023-06-04 06:33:01 +00:00
core Modify StorageImplCreateHelper (#118459) 2024-03-07 06:26:55 +00:00
cuda [CUDACachingAllocator] Simplify update_stat and avoid casts (#120964) 2024-03-07 05:55:38 +00:00
hip [ROCm] remove HCC references (#111975) 2023-10-26 02:39:10 +00:00
macros Remove C10_FALLTHROUGH (#120157) 2024-02-21 06:18:58 +00:00
mobile [Clang-tidy header][15/N] Enable clang-tidy on headers in c10/cuda and c10/mobile (#116602) 2024-01-18 08:15:50 +00:00
test Make SparseCsr a functionality dispatch key (#120703) 2024-03-01 13:28:46 +00:00
util Restore timestamps on C++ logs without glog (#121384) 2024-03-12 17:01:32 +00:00
xpu [CUDACachingAllocator] Turn Allocator::allocate into non-const (#120969) 2024-03-05 09:53:05 +00:00
BUCK.oss [1/4] Intel GPU Runtime Upstreaming for Device (#116019) 2024-01-12 07:36:25 +00:00
BUILD.bazel remove //c10:headers (#98420) 2023-04-05 19:33:10 +00:00
build.bzl Revert "Move at::{Refcounted,}MapAllocator to c10 (#109881)" 2023-10-13 17:57:53 +00:00
CMakeLists.txt Remove redundant CMake NUMA code (#119650) 2024-02-12 21:53:44 +00:00
ovrsource_defs.bzl [ROCm] Disabling Kernel Asserts for ROCm by default - fix and clean up and refactoring (#114660) 2023-12-13 15:44:53 +00:00