<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in timekeeping.rst</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>3dc6ffae - timekeeping: Introduce fast accessor to clock tai</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#3dc6ffae</link>
        <description>timekeeping: Introduce fast accessor to clock taiIntroduce fast/NMI safe accessor to clock tai for tracing. The Linux kerneltracing infrastructure has support for using different clocks to generatetimestamps for trace events. Especially in TSN networks it&apos;s useful to have TAIas trace clock, because the application scheduling is done in accordance to thenetwork time, which is based on TAI. With a tai trace_clock in place, it becomesvery convenient to correlate network activity with Linux kernel applicationtraces.Use the same implementation as ktime_get_boot_fast_ns() does by reading themonotonic time and adding the TAI offset. The same limitations as for the fastboot implementation apply. The TAI offset may change at run time e.g., bysetting the time or using adjtimex() with an offset. However, these kind ofoffset changes are rare events. Nevertheless, the user has to be aware and dealwith it in post processing.An alternative approach would be to use the same implementation asktime_get_real_fast_ns() does. However, this requires to add an additional u64member to the tk_read_base struct. This struct together with a seqcount isdesigned to fit into a single cache line on 64 bit architectures. Adding a newmember would violate this constraint.Signed-off-by: Kurt Kanzenbach &lt;kurt@linutronix.de&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;Link: https://lore.kernel.org/r/20220414091805.89667-2-kurt@linutronix.de

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Thu, 14 Apr 2022 09:18:03 +0000</pubDate>
        <dc:creator>Kurt Kanzenbach &lt;kurt@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>404e603f - docs: timekeeping: Use correct prototype for deprecated functions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#404e603f</link>
        <description>docs: timekeeping: Use correct prototype for deprecated functionsUse the correct prototypes for do_gettimeofday(), getnstimeofday() andgetnstimeofday64(). All of these returned void and passed the returnvalue by reference. This should make the documentation of theirdeprecation and replacements easier to search for.Signed-off-by: Chris Packham &lt;chris.packham@alliedtelesis.co.nz&gt;Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Link: https://lore.kernel.org/r/20200414221222.23996-1-chris.packham@alliedtelesis.co.nzSigned-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Tue, 14 Apr 2020 22:12:22 +0000</pubDate>
        <dc:creator>Chris Packham &lt;chris.packham@alliedtelesis.co.nz&gt;</dc:creator>
    </item>
<item>
        <title>d48e0cd8 - timekeeping: Boot should be boottime for coarse ns accessor</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#d48e0cd8</link>
        <description>timekeeping: Boot should be boottime for coarse ns accessorSomewhere in all the patchsets before, this cleanup got lost.Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Link: https://lkml.kernel.org/r/20190624091539.13512-1-Jason@zx2c4.com

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Mon, 24 Jun 2019 09:15:39 +0000</pubDate>
        <dc:creator>Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;</dc:creator>
    </item>
<item>
        <title>4c54294d - timekeeping: Add missing _ns functions for coarse accessors</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#4c54294d</link>
        <description>timekeeping: Add missing _ns functions for coarse accessorsThis further unifies the accessors for the fast and coarse functions, sothat the same types of functions are available for each. There was alsoa bit of confusion with the documentation, which prior advertised afunction that has never existed. Finally, the vanilla ktime_get_coarse()was omitted from the API originally, so this fills this oversight.Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Link: https://lkml.kernel.org/r/20190621203249.3909-3-Jason@zx2c4.com

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Fri, 21 Jun 2019 20:32:49 +0000</pubDate>
        <dc:creator>Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;</dc:creator>
    </item>
<item>
        <title>9285ec4c - timekeeping: Use proper clock specifier names in functions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#9285ec4c</link>
        <description>timekeeping: Use proper clock specifier names in functionsThis makes boot uniformly boottime and tai uniformly clocktai, toaddress the remaining oversights.Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Link: https://lkml.kernel.org/r/20190621203249.3909-2-Jason@zx2c4.com

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Fri, 21 Jun 2019 20:32:48 +0000</pubDate>
        <dc:creator>Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;</dc:creator>
    </item>
<item>
        <title>e0cef9ff - Documentation: fix typo CLOCK_MONONOTNIC_COARSE</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#e0cef9ff</link>
        <description>Documentation: fix typo CLOCK_MONONOTNIC_COARSEFix typo in documentation file timekeeping.rst: CLOCK_MONONOTNIC_COARSEshould be CLOCK_MONOTONIC_COARSE.Signed-off-by: Aurelien Thierry &lt;aurelien.thierry@quoscient.io&gt;Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Fri, 07 Jun 2019 08:07:02 +0000</pubDate>
        <dc:creator>Aurelien Thierry &lt;aurelien.thierry@quoscient.io&gt;</dc:creator>
    </item>
<item>
        <title>0e3fd810 - Documentation: document ktime_get_*() APIs</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/core-api/timekeeping.rst#0e3fd810</link>
        <description>Documentation: document ktime_get_*() APIsAs Dave Chinner points out, we don&apos;t have a proper documentation for thektime_get() family of interfaces, making it rather unclear which of theover 30 (!) interfaces one should actually use in a driver or elsewherein the kernel.I wrote up an explanation from how I personally see the interfaces,documenting what each of the functions do and hopefully making it a bitclearer which should be used where.This is the first time I tried writing .rst format documentation, soin addition to any mistakes in the content, I probably also introducenonstandard formatting ;-)I first tried to add an extra section toDocumentation/timers/timekeeping.txt, but this is currently not includedin the generated API, and it seems useful to have the API docs as partof what gets generated inhttps://www.kernel.org/doc/html/latest/core-api/index.html#core-utilitiesinstead, so I started a new file there.I also considered adding the documentation inline in theinclude/linux/timekeeping.h header, but couldn&apos;t figure out how to dothat in a way that would result both in helpful inline comments aswell as readable html output, so I settled for the latter, witha small note pointing to it from the header.Cc: Dave Chinner &lt;david@fromorbit.com&gt;Cc: John Stultz &lt;john.stultz@linaro.org&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Stephen Boyd &lt;sboyd@kernel.org&gt;Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/Documentation/core-api/timekeeping.rst</description>
        <pubDate>Tue, 10 Jul 2018 14:46:41 +0000</pubDate>
        <dc:creator>Arnd Bergmann &lt;arnd@arndb.de&gt;</dc:creator>
    </item>
</channel>
</rss>
