> -----Original Message----- > From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies- > bounce@xxxxxxxxxxxx] On Behalf Of R.Kaushik Kumar > Sent: Wednesday, July 13, 2005 8:12 AM > To: nish.aravamudan@xxxxxxxxx > Cc: kernelnewbies@xxxxxxxxxxxx > Subject: Fwd: Re: Jiffies > > Hi all, > > Thanx for the info. > > > Why would you ever, in userspace, need to know the > > number of timer > > interrupts received since boot? What are you > > actually trying to do? > > Maybe all you need is the time? > > > We are testing the concept of user level device > drivers. My work is to port alsa to user land. I > basically need to remove all kernel dependencies and > get it to compile in user space. > > I had to deal with some timers (all of > them work with jiffies). I was thinking of a way to > make it work without breaking the existing code. > > Guess the best way would be to use uptime and > convert it into jiffies. For higher resolution of values, you can also use $cat /proc/interrupts |grep timer Sanjay > Thanx, > kaushik > > > > > > > ___________________________________________________________ > How much free photo storage do you get? Store your holiday > snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/