Remove PowerPC specific time reading function
authorYannick Brosseau <yannick.brosseau@gmail.com>
Thu, 10 Feb 2011 15:51:41 +0000 (10:51 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 10 Feb 2011 15:58:00 +0000 (10:58 -0500)
commit5ddb6e3696d96fec6ef2f0fad66287444629ec22
treefbfabfdf8c28bcac5c6a88443718fae1b4445f9f
parentc067bf5b81aaf064bd10cce9d45e3f1e033d1cb5
Remove PowerPC specific time reading function

The PPC version of the trace_clock_read64 was using the TB register
which is not constant accross implementations. The currently
measured time base on PPC was not accurate.
So, for now, we rely on the CLOCK_MONOTONIC.

This patch remove a bunch of #ifdef for x86 and PPC, since we now rely on
the same base clock. It also fix the build on PPC that was currently broken

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/clock.h
This page took 0.025107 seconds and 4 git commands to generate.