Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 13:26:02 +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:  <E173CC12-0008-408B-B6BC-9FA162051C9F@grondar.org>
In-Reply-To: <20130803145135.38196156.ray@freebsd.org>
References:  <78D22A66-86E5-43B1-ABCA-7BF14F8061AB@grondar.org> <20130803145135.38196156.ray@freebsd.org>

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

--Apple-Mail=_D3BDEA4A-F751-4FCB-A3E5-5CF45179B341
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii


On 3 Aug 2013, at 12:51, Aleksandr Rybalko <ray@freebsd.org> wrote:
> Hi Mark!
> 
> Do we setup Performance Monitor Control Register before use that
> counter?

I've read up on PNMC register now, an looked for it in the code,
and unless it is very well hidden, then NO, we don't set it up.

I've read now what I need to do; where is the best place do do it?
I suspect it should be in start-up code right when the ARM is starting
up; is that a good guess?

M
-- 
Mark R V Murray


--Apple-Mail=_D3BDEA4A-F751-4FCB-A3E5-5CF45179B341
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

iQCVAwUBUfz23t58vKOKE6LNAQpbdgQAm4GonEIP6K8SX7QgSjYImd26m28Lx6C6
/L9lAzsiey+jtOezkwye2N1yVL7nM9PcoYuzgo6dNThGvvS30+qsPSIbd7OY86U3
LoRAU3E2YdEADCFcQpFND6IW3lwhuvjdaMTXU8P2HrElSUA56LsTkLOd9h67IUo9
1Kz2pDi6ucQ=
=RPQ5
-----END PGP SIGNATURE-----

--Apple-Mail=_D3BDEA4A-F751-4FCB-A3E5-5CF45179B341--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E173CC12-0008-408B-B6BC-9FA162051C9F>