From: Henri Bourbon <useperl@fastmail.fm> To: community@altlinux.ru Subject: [Comm] API ÄÌÑ ÔÏÞÎÏÇÏ ÚÁÍÅÒÁ ×ÒÅÍÅÎÉ Date: Wed, 27 Nov 2002 15:31:46 +0300 Message-ID: <72107895625.20021127153146@fastmail.fm> (raw) In-Reply-To: <3DE37BF6.6000201@inbox.ru> On 26 Nov 2002 16:49, Михаил Пожидаев wrote: > Подскажите, при помощи какой функции можно узнать время с > точностью до сотых долей секунды. int gettimeofday(struct timeval *tv, struct timezone *tz); man gettimeofday Только время этот вызов дает не с сотыми, а с миллионными секунды :-) > Можно ли как-нибудь узнать, сколько процессорного времени получал > тот или иной процесс? Непонятно, что именно вам нужно: сист. вызов или команда, статистика для выполняющегося сейчас процесса или для только что выполнившегося и т. д. -- HB
prev parent reply other threads:[~2002-11-27 12:31 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-26 13:49 [Comm] API для точного замера времени Михаил Пожидаев 2002-11-26 14:54 ` Dmitry Lebkov 2002-11-27 9:58 ` [Comm] API ÄÌÑ ÔÏÞÎÏÇÏ ÚÁÍÅÒÁ ×ÒÅÍÅÎÉ Sergey Krivulja 2002-11-27 12:31 ` Henri Bourbon [this message]
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=72107895625.20021127153146@fastmail.fm \ --to=useperl@fastmail.fm \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git