64bit timestamp

看板FB_chat作者時間19年前 (2007/03/24 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/16 (看更多)
UNIX Timestamp: 32 bits, starts from year 1970, ticks every second capable of representing the time from 1970 to 2106 'til then, computers will change sufficient for file timestamps, comparing file times Let's see what 64 bits can do! 2^64, that is 18446744073709551616 different values 18446744073709551616 / (1000000microseconds/value) / (60seconds/minute) / (60minutes/hour) / (24hours/day) / (365.2475days/year) / (2, for signed time values) = +-292273 years in the future/present, every microsecond OK, presicion is too much, however, when very fast x64 computers are developed, programs should distinguish time between the same millisecond. Redunant for filesystems.. who would require 300K years? who would edit files every microsecond? NTP has 136 years with such precision, that the processors these days cant handle. _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
文章代碼(AID): #1612jP00 (FB_chat)
討論串 (同標題文章)
文章代碼(AID): #1612jP00 (FB_chat)