Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am working on ARM9 board whose clock is configured to operate at milliseconds resolution,but i wanted to enable the High resolution timer support in order the clock to operate in the order of microseconds,In make menuconfig i didnt have HR timer support option by default so i made changes to arch/arm/Kconfig to bring in support,then i have enabled HR timer support in make menuconfig and then recompiled the kernel and after that i checked cat /proc/timer_list in which the attribute .hres_active is still equals to 0,but it should be 1.Also resulotion is also not showing 1nsecs,instead it is showing 1000000nanosecs.can you please suggest me how to implement HIGH RESOLUTION timer support for my ARM hardware?I am using linux-2.6.28 kernel.
To have HRT support, there must be code under the /arch kernel directory to access the hardware, like a get_time call. What code is there for your ARM implementation?
Is there any possibility to upgrade such high resolution timers to hardware? Can you please give me the clarification on this,because i am very much confused on this.
That means there is a CPU counter running at 1 GHz which can be read by the HRT software. Some ARM chips have high-res timers but not all. You need to find the hardware specs on your chip to know what is available. Even if the hardware is there, you still need to have the call to read it in your kernel. This is likely to be a single assembly-language instruction wrapped in the appropriate compiler glue to return a uint.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.