Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以 64 位十六进制表示的时间戳。有没有办法将其转换为纳秒时间戳?(最好在 C++ 中)
找到了!
我使用 std::hex 将十六进制值转换为 long,这反过来又给了我纳秒精度。