Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Porting Open MPI to ARM: How essential is the opal_sys_timer_get_cycles() function?
From: Ken Mighell (mighell_at_[hidden])
Date: 2010-09-23 13:24:25


Dear Open MPI,

How essential is Open MPI's opal_sys_timer_get_cycles() function?
It apparently needs to access a timestamp register directly. That is
a trivial operation in PPC (mftb) or x86 (tsc), but the ARM processor
apparently doesn't have a similar function in its instruction set.

Is it critical that opal_sys_timer_get_cycles() be written in assembly?

Would a hack written in C suffice?

Sincerely yours,

Ken Mighell

================================
Kenneth Mighell, Scientist
National Optical Astronomy Observatory
950 North Cherry Avenue
Tucson, AZ 85719 U.S.A.
email: mighell_at_[hidden]
voice: (520) 318-8391