mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* HZ from userspace
@ 2008-08-06 20:48 Piotr Jaroszyński
  2008-08-06 21:49 ` Ray Lee
  0 siblings, 1 reply; 7+ messages in thread
From: Piotr Jaroszyński @ 2008-08-06 20:48 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 572 bytes --]

Hello,
I want to be able to convert starttime from /proc/#/stat to absolutetime and it seems that I need HZ to do that as it is measured injiffies. How can I get HZ? I have seen some discussion about this buthaven't found a definite answer. procps is using some hacks do it andI would prefer to avoid them.I only need a solution for modern kernels, say 2.6.20+ if that matters.
-- Best Regards,Piotr JaroszyÅ„skiÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-06 22:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-06 20:48 HZ from userspace Piotr Jaroszyński
2008-08-06 21:49 ` Ray Lee
2008-08-06 22:07   ` Piotr Jaroszyński
2008-08-06 22:16     ` Ray Lee
2008-08-06 22:20       ` Ray Lee
2008-08-06 22:20       ` Piotr Jaroszyński
2008-08-06 22:19     ` Sven Wegener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®