ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] timers on 2.6.x vs 2.4.x (was: Re: USB on 2.4.x)
Date: Thu, 3 Feb 2005 16:41:35 +0300
Message-ID: <200502031641.35460.serpiph@nikiet.ru> (raw)
In-Reply-To: <20050203123306.GP11017@master.mivlgu.local>

В сообщении от 3 Февраль 2005 15:33 Sergey Vlasov написал:
> Чтобы определить, какой интервал для таймера в действительности был
> установлен ядром, можно после setitimer() вызвать getitimer() -
> настройки таймера хранятся во внутренних единицах ядра, поэтому
> getitimer() вернёт не то значение, которое было передано в setitimer(),
> а уже округлённое, которое и будет в действительности использоваться
> ядром.

А есть ли возможность рассчитать из своей программы, сколько реальный 
интервал используется для заданного, не влезая в функции 
setitimer/getitimer и другие подобные? А то до функций timeval_to_jiffies, 
jiffies_to_timeval и других из linux/jiffies.h не могу добраться.

-- 
С уважением, Епифанов Сергей


  reply	other threads:[~2005-02-03 13:41 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 22:14 [sisyphus] USB on 2.4.x Andrey Brindeew
2005-02-01 22:47 ` Vitaly Lipatov
2005-02-02  2:03   ` Ivan Fedorov
2005-02-02  5:46     ` Vitaly Lipatov
2005-02-02  7:17       ` Gleb Kulikov
2005-02-02 10:27         ` Alexandre Prokoudine
2005-02-02 14:45           ` Gleb Kulikov
2005-02-02 11:45         ` iLL
2005-02-02 12:06           ` Epiphanov Sergei
2005-02-02 12:45             ` iLL
2005-02-02 13:09               ` Epiphanov Sergei
2005-02-02 13:27                 ` Anton Farygin
2005-02-02 14:47                   ` Epiphanov Sergei
2005-02-02 16:10                     ` Anton Farygin
2005-02-03  8:21                       ` Epiphanov Sergei
2005-02-03 10:58                       ` Epiphanov Sergei
2005-02-03 12:33                         ` [sisyphus] timers on 2.6.x vs 2.4.x (was: Re: USB on 2.4.x) Sergey Vlasov
2005-02-03 13:41                           ` Epiphanov Sergei [this message]
2005-02-03 12:32                       ` [sisyphus] USB on 2.4.x Epiphanov Sergei
2005-02-02 14:43             ` Gleb Kulikov
2005-02-02 22:12               ` Vitaly Lipatov
2005-02-03  7:59                 ` Gleb Kulikov
2005-02-03  9:59                   ` Vitaly Lipatov
2005-02-07 19:20             ` Serge Pavlovsky
2005-02-02 14:39           ` Gleb Kulikov
2005-02-02 15:42         ` [sisyphus] " Konstantin A. Lepikhov
2005-02-02  7:34       ` [sisyphus] Mosix (was: USB on 2.4.x) iLL
2005-02-03  5:24   ` [sisyphus] USB on 2.4.x Andrey Brindeew
2005-02-03  5:34     ` Ivan Fedorov
2005-02-03  8:21       ` Valery V. Inozemtsev
2005-02-03 13:45         ` Anton Farygin
2005-02-08 17:10   ` Maxim Tyurin
2005-02-02  6:35 ` Alex Yustasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502031641.35460.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git