<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to IEC Timer vs Linux Timer</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ff5db6c36b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ff5db6c36b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ff5db6c36b/</id><updated>2022-02-16T11:05:41.948000Z</updated><subtitle>Recent posts to IEC Timer vs Linux Timer</subtitle><entry><title>IEC Timer vs Linux Timer</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ff5db6c36b/?limit=25#10f0" rel="alternate"/><published>2022-02-16T11:05:41.948000Z</published><updated>2022-02-16T11:05:41.948000Z</updated><author><name>wilky93</name><uri>https://forge.codesys.com/u/wilky93/</uri></author><id>https://forge.codesys.com78ce2265d460e8e69a30d1db359dd51191382b26</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks. I will check this. I need nano seconds, then I think it will be SysTimeGetNs()&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IEC Timer vs Linux Timer</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ff5db6c36b/?limit=25#ccc7" rel="alternate"/><published>2022-02-16T10:14:27.961000Z</published><updated>2022-02-16T10:14:27.961000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comc02ca4f457b4cb32e926e88447b203d316aaa377</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This should be SysTimeGetUs()&lt;br/&gt;
I think some systems have a different CLOCK_MONOTONIC per core, so perhaps you will need to have the time calls on the same core.  Perhaps not.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IEC Timer vs Linux Timer</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ff5db6c36b/?limit=25#0146" rel="alternate"/><published>2022-02-16T10:08:45.554000Z</published><updated>2022-02-16T10:08:45.554000Z</updated><author><name>wilky93</name><uri>https://forge.codesys.com/u/wilky93/</uri></author><id>https://forge.codesys.comc8a8babe27a584e8959def33702e2174d607471f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I'm using the Control Runtime for Linux x86. On my System (C/C++ Apps) I use the monotonic timer for time measurements ( clock_gettime(CLOCK_MONOTONIC, &amp;amp;timestamp).&lt;/p&gt;
&lt;p&gt;In my CODESYS Project I want also have access to the monotonic timer of my system. So is it possible to use the same timer in codesys and in my c/c++ system application? I would like to have a common time base and match the test results.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>