mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/gsttrace.*: tsc's are guint64's.
Original commit message from CVS: * gst/gsttrace.c: (read_tsc), (gst_trace_read_tsc): * gst/gsttrace.h: tsc's are guint64's. * tests/seeking/seeking1.c: (main): so use them that way.
This commit is contained in:
parent
a09c309383
commit
61eb076286
4 changed files with 13 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gsttrace.c: (read_tsc), (gst_trace_read_tsc):
|
||||||
|
* gst/gsttrace.h:
|
||||||
|
tsc's are guint64's.
|
||||||
|
* tests/seeking/seeking1.c: (main):
|
||||||
|
so use them that way.
|
||||||
|
|
||||||
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* testsuite/indexers/cache1.c: (lookup):
|
* testsuite/indexers/cache1.c: (lookup):
|
||||||
|
|
|
@ -42,7 +42,7 @@ static
|
||||||
__inline__
|
__inline__
|
||||||
#endif
|
#endif
|
||||||
void
|
void
|
||||||
read_tsc (gint64 * dst)
|
read_tsc (guint64 * dst)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_RDTSC
|
#ifdef HAVE_RDTSC
|
||||||
guint64 tsc;
|
guint64 tsc;
|
||||||
|
@ -55,7 +55,7 @@ read_tsc (gint64 * dst)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_trace_read_tsc (gint64 * dst)
|
gst_trace_read_tsc (guint64 * dst)
|
||||||
{
|
{
|
||||||
read_tsc (dst);
|
read_tsc (dst);
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ struct _GstTrace {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstTraceEntry {
|
struct _GstTraceEntry {
|
||||||
gint64 timestamp;
|
guint64 timestamp;
|
||||||
guint32 sequence;
|
guint32 sequence;
|
||||||
guint32 data;
|
guint32 data;
|
||||||
gchar message[112];
|
gchar message[112];
|
||||||
|
@ -66,7 +66,7 @@ void gst_trace_set_default (GstTrace *trace);
|
||||||
void _gst_trace_add_entry (GstTrace *trace, guint32 seq,
|
void _gst_trace_add_entry (GstTrace *trace, guint32 seq,
|
||||||
guint32 data, gchar *msg);
|
guint32 data, gchar *msg);
|
||||||
|
|
||||||
void gst_trace_read_tsc (gint64 *dst);
|
void gst_trace_read_tsc (guint64 *dst);
|
||||||
|
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
|
|
@ -27,7 +27,7 @@ main (gint argc, gchar * argv[])
|
||||||
GstElement *pipeline;
|
GstElement *pipeline;
|
||||||
GstElement *fakesrc;
|
GstElement *fakesrc;
|
||||||
GstElement *fakesink;
|
GstElement *fakesink;
|
||||||
guint64 value;
|
gint64 value;
|
||||||
GstFormat format;
|
GstFormat format;
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
|
|
Loading…
Reference in a new issue