Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2014 09:46:31 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        arch@freebsd.org, Mark R V Murray <mark@grondar.org>, Ian Lepore <ian@FreeBSD.org>
Subject:   Re: svn commit: r274739 - head/sys/mips/conf
Message-ID:  <86a93fwtug.fsf@nine.des.no>
In-Reply-To: <90678.1416897647@critter.freebsd.dk> (Poul-Henning Kamp's message of "Tue, 25 Nov 2014 06:40:47 %2B0000")
References:  <201411200552.sAK5qnXP063073@svn.freebsd.org> <20141120084832.GE24601@funkthat.com> <AE8F2D30-7F91-4C90-B79A-D99857D8AED8@grondar.org> <20141121092245.GI99957@funkthat.com> <1416582989.1147.250.camel@revolution.hippie.lan> <026FEB8A-CA8C-472F-A8E4-DA3D0AC44B34@grondar.org> <1416596266.1147.290.camel@revolution.hippie.lan> <F017033A-B761-4435-A7F8-264D2F4662A0@grondar.org> <1416598889.1147.297.camel@revolution.hippie.lan> <86egsvueqk.fsf@nine.des.no> <1416691274.1147.339.camel@revolution.hippie.lan> <398A380D-49AF-480C-8842-8835F81EF641@grondar.org> <1416806894.1147.362.camel@revolution.hippie.lan> <18B8A926-59C0-49B4-ADA3-A11688609852@grondar.org> <1416841268.1147.386.camel@revolution.hippie.lan> <CC6B67E1-55A2-4952-AB43-5F6C787F629B@grondar.org> <86wq6k9okk.fsf@nine.des.no> <4C2BD093-BEA2-47F9-B575-90342712E9B2@bsdimp.com> <90678.1416897647@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
"Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
> Warner Losh <imp@bsdimp.com> writes:
> > What's the minimum specs required for get_cyclecount()?
> In randomness context:  That there exists a complex and unpredictable
> cache-hierarchy which makes the exact number of cycles for any one
> instruction pseudo-random.

No.  It just needs to be monotonic across cores and have reasonably high
resolution.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86a93fwtug.fsf>