From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115029 invoked by alias); 17 Dec 2015 10:32:04 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 115011 invoked by uid 89); 17 Dec 2015 10:32:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=derive, H*MI:gmx, H*M:gmx, H*r:Nemesis X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 17 Dec 2015 10:31:59 +0000 Received: from [10.2.2.142] ([109.199.162.209]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lugbo-1aIHLH3RAW-00zqiG for ; Thu, 17 Dec 2015 11:31:55 +0100 To: ecos-discuss@ecos.sourceware.org From: Privat X-Enigmail-Draft-Status: N1110 Message-ID: <56728F18.1040409@gmx.de> Date: Thu, 17 Dec 2015 10:32:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:TLfDdqlRPV8=:iYebbh6JSG+yiwcTv+199U 0k3OmL+hli8S66VExwe0sBtkxnHk/6UbMLHUVF7c389jeKOKjYVJ4zyy44HhkxaC8QsJ9B7SF Uzgg/bYHv6/uvm+k5bdVuVw+Xk8YXVU9YTuFV0Or9/HjzU8ULFr7m3qaINTeaUSHCkE9hPCrp EJYuddolauKOqAuEzhnDxGKnfE9LKo6+0LZUwZKWnHA+HxwFNSCzFsEcMzGvdbFkSxFw5+E+r auOWz3JRpRYjbwIfLznvtpktZsIR7CtGmVlp+P1uVyzPBmyu+hMwAL2OYb/Ov5H9e88FRhgVe jq0QTAb/q3fThY8IrvNSv7oJTauNzCABGhnNM3xA8by9KfkbyNWaTEOpvanY7UHwSb+4Ix5HO PNvb/X1KF94V4NSPZlCnDr+Dps84tsgz4ySSZlr0rb0gwzOC3ksZQWKlyGs1ReEyD/y3MioCP HyH+CnfywFDCDuYDJ4uhrHyWXFU8IF+UHBaNhnXAX6x74ImD4yXdfCd9LdsLm+2ieiXr+U+xa fXgoi2aS1AZv1+dhFP9lNHsOgMhPPFoMeZUZwUqLooLRLcnSCcWki23vFNacz2nz7nYCki4aK zSKxaTT+sVZryhIg1CynKRRi4DOdn/z7iED2zF+96tDQgtRtis4RmBXknjhbcyUPGWzf3OXou 47VVLrxqNXjbOdQFMcqg9TauVVzp6bCUig8wVNphy7Qn/sB2L1pRFoGXbip0zZYHSc3fjFXWn LrMgWHxIkjUWoAnL5UQ0JTGQGKLI6+5N63UkspHe40BV52LpYUixApe9m7XJebqQ+Ut9Fq3hq TkEl/kl X-IsSubscribed: yes Subject: [ECOS] Real Time Clock X-SW-Source: 2015-12/txt/msg00000.txt.bz2 Dear Ecos Developers and Maintainers, i have a question regarding the real time clock. I have a FreeSacle which runs at 116 Mhz, which means i have 1 000 000 000 ns / 116 000 000 or 8ns per cycle. I set the dividend to 1000, and the divisor to 116 which following the documentation (http://ecos.sourceware.org/docs-2.0/ref/kernel-clocks.html) - should always yield the ratio of ns between clock ticks. Unfortunatly that does not result in correct values. Strange as it sounds, the default works near perfect. But reading the realtime clock resolution i got a dividend 1000000000 and a divisor of 1000 - which would be correct for a 100 Hz processor. Any help or advice is welcome. I would also like to know, how the system is able to derive its own cyclerate. Regards Picasso -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss