Re: [OMPI users] Porting Open MPI to ARM: How essential is the opal_sys_timer_get_cycles() function?

2010-09-27 Thread Jeff Squyres
On Sep 23, 2010, at 1:24 PM, Ken Mighell wrote: > Would a hack written in C suffice? Assembly is always better, but C should be fine. If you really want to, could you write it in C and have the compiler generate optimized assembly for you. -- Jeff Squyres jsquy...@cisco.com For corporate lega

[OMPI users] Porting Open MPI to ARM: How essential is the opal_sys_timer_get_cycles() function?

2010-09-23 Thread Ken Mighell
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 cr