Removed bad asm call for rdts. Need to fix this...
Original commit message from CVS: Removed bad asm call for rdts. Need to fix this...
This commit is contained in:
parent
daf7640e76
commit
53be55b62e
@ -27,6 +27,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gst/gsttrace.h>
|
#include <gst/gsttrace.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_RDTS
|
||||||
__inline__ void read_tsc(guint64 *dst) {
|
__inline__ void read_tsc(guint64 *dst) {
|
||||||
__asm__ __volatile__
|
__asm__ __volatile__
|
||||||
("rdtsc"
|
("rdtsc"
|
||||||
@ -34,6 +35,10 @@ __inline__ void read_tsc(guint64 *dst) {
|
|||||||
:
|
:
|
||||||
: "eax", "edx");
|
: "eax", "edx");
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
__inline__ void read_tsc(guint64 *dst) {
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void gst_trace_read_tsc(guint64 *dst) {
|
void gst_trace_read_tsc(guint64 *dst) {
|
||||||
read_tsc(dst);
|
read_tsc(dst);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user