You are browsing as a guest. Sign up (or log in) to start making projects!

POSIX clock, for time on Mars

  • 1 Devlogs
  • 1 Total hours

(An attempt to see if I can build) A driver for the Linux Kernel that adds another clock source, that runs as a lower multiplier to match the length of time on Mars. I did make an RFC for timekeeping ( https://lore.kernel.org/linux-clk/[email protected]/T/#mf3a5a1a5583e6e8254fe617283776360503ead29 ) but I think with another clock source this could be easier than it seems

Open comments for this post

31m 39s logged

Another 31 minutes of me just running around, looking at examples and examining how timekeeping and clocks work in the kernel. End goal is to eventually have some way of tracking Martian time/Darian Calendar in linux, and I’m trying to go as low as possible. I’m probably going to make a special POSIX clock module that does the multiplier and calculations (then I guess make a “util-linux” fork for lsclocks to parse the date with a separate “libspacetime” library I started and then paused a few months ago because conversion is complicated)

Another 31 minutes of me just running around, looking at examples and examining how timekeeping and clocks work in the kernel. End goal is to eventually have some way of tracking Martian time/Darian Calendar in linux, and I’m trying to go as low as possible. I’m probably going to make a special POSIX clock module that does the multiplier and calculations (then I guess make a “util-linux” fork for lsclocks to parse the date with a separate “libspacetime” library I started and then paused a few months ago because conversion is complicated)

Replying to @jpeisach

0
1

Followers

Loading…