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:
Wim Taymans 2000-08-18 22:15:58 +00:00
parent daf7640e76
commit 53be55b62e

View file

@ -27,6 +27,7 @@
#include <glib.h>
#include <gst/gsttrace.h>
#ifdef HAVE_RDTS
__inline__ void read_tsc(guint64 *dst) {
__asm__ __volatile__
("rdtsc"
@ -34,6 +35,10 @@ __inline__ void read_tsc(guint64 *dst) {
:
: "eax", "edx");
}
#else
__inline__ void read_tsc(guint64 *dst) {
}
#endif
void gst_trace_read_tsc(guint64 *dst) {
read_tsc(dst);