Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2013 08:43:57 +0100
From:      Mark R V Murray <mark@grondar.org>
To:        Aleksandr Rybalko <ray@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: PATCH: get_cyclecount() on ARMv6 and better
Message-ID:  <5923E430-A98D-4396-ACD3-83654B7F5D84@grondar.org>
In-Reply-To: <20130804011535.b87e1f39.ray@freebsd.org>
References:  <78D22A66-86E5-43B1-ABCA-7BF14F8061AB@grondar.org> <20130803145135.38196156.ray@freebsd.org> <E173CC12-0008-408B-B6BC-9FA162051C9F@grondar.org> <9342F2DA-2A30-4209-B8C6-A43F194852DA@bsdimp.com> <20130804011535.b87e1f39.ray@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_F002862B-D3A8-4559-B246-2B577EA01389
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii


On 3 Aug 2013, at 23:15, Aleksandr Rybalko <ray@freebsd.org> wrote:
> Another potential useful thing, not to close it under #ifdef ARMv6, but
> check ARM processor Feature registers.
> MRC p15, 0, <Rt>, c0, c1, 2; Read Debug Feature Register 0 
> Here is [27:24] bits - Performance monitor model, zero - lack of PMU.
> But unfortunately, Cortex-A8 have no such bits, but have CCNT reg. :)

Thanks for the hint, but it soinnds like I'm going to need a bit more
expert knowledge here.

So what will work on all ARMs, then?

M
-- 
Mark R V Murray


--Apple-Mail=_F002862B-D3A8-4559-B246-2B577EA01389
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQCVAwUBUf4GRN58vKOKE6LNAQrfBgP/XdLHrW5vNf7PQ11CKOsCLajq1nQfcL36
rwqay7afALHdJ7G/zPZaDLuTJWXf4+pUlKjMuLNJVwQkvF3dJAcXi0WCI9XGMKJZ
Cl2UTb36dnbPuTuiuGFbtny+Eu7xgfM/VproTihLDWgKni6RSNDsAte6xXmQJRv+
i8WUotXgTBo=
=JEq+
-----END PGP SIGNATURE-----

--Apple-Mail=_F002862B-D3A8-4559-B246-2B577EA01389--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5923E430-A98D-4396-ACD3-83654B7F5D84>