projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf7640
)
Removed bad asm call for rdts. Need to fix this...
author
Wim Taymans
<wim.taymans@gmail.com>
Fri, 18 Aug 2000 22:15:58 +0000
(22:15 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Fri, 18 Aug 2000 22:15:58 +0000
(22:15 +0000)
Original commit message from CVS:
Removed bad asm call for rdts. Need to fix this...
gst/gsttrace.c
patch
|
blob
|
history
diff --git
a/gst/gsttrace.c
b/gst/gsttrace.c
index
cbb5dcb
..
0f53cb8
100644
(file)
--- a/
gst/gsttrace.c
+++ b/
gst/gsttrace.c
@@
-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);