Date: Wed, 01 Apr 2015 08:50:25 +0200 From: Sebastian Huber <sebastian.huber@embedded-brains.de> To: freebsd-hackers@freebsd.org Subject: Uptime starts with one second Message-ID: <551B9531.4040902@embedded-brains.de>
next in thread | raw e-mail | index | archive | help
Hello, we port currently the FreeBSD timecounters to the RTEMS real-time=20 operating system. https://devel.rtems.org/ticket/2271 On FreeBSD the uptime starts with one second. On RTEMS the uptime starts=20 with zero seconds. I would like to preserve the existing behaviour and=20 it would be easy to adjust kern_tc.c accordingly. The problem is that we=20 also use the FreeBSD network stack and it uses for example=20 (microuptime()). Has a uptime value of zero a special meaning inside the=20 kernel so that we must not start at zero? --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG= .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551B9531.4040902>