Optimize caa_get_cycles() for PowerPC64
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Fri, 9 Sep 2011 05:37:11 +0000 (22:37 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Sep 2011 05:37:11 +0000 (22:37 -0700)
commit9a9d403acee72d36d17988ae5a6ce9ede8051f11
tree25650e85683ea188d6bcf8950d167ececc2351f3
parent94aec12284c03da90d879b4d55280f9cbf0e183a
Optimize caa_get_cycles() for PowerPC64

Make caa_get_cycles() read from the Time Base register with only 1
instruction.

[ Edit by Mathieu Desnoyers: coding style update ]

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
urcu/arch/ppc.h
This page took 0.024475 seconds and 4 git commands to generate.