From 7bd563ec7bee6e0ca94f12553b59009f7c102482 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 13 Sep 2005 19:30:35 +0000 Subject: [PATCH] get start time for trace git-svn-id: http://ltt.polymtl.ca/svn@1175 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/trace.h | 2 +- ltt/branches/poly/ltt/tracefile.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ltt/branches/poly/ltt/trace.h b/ltt/branches/poly/ltt/trace.h index 859c44e2..71ef9bca 100644 --- a/ltt/branches/poly/ltt/trace.h +++ b/ltt/branches/poly/ltt/trace.h @@ -143,7 +143,7 @@ gchar * ltt_trace_system_description_description (LttSystemDescription * s); /* get the start time of the trace */ -LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s); +LttTime ltt_trace_start_time(LttTrace *t); /* copy tracefile info over another. Used for sync. */ LttTracefile *ltt_tracefile_new(); diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index d2b6f898..af3b02fe 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -2556,13 +2556,11 @@ char * ltt_trace_system_description_description (LttSystemDescription * s) /* get the start time of the trace */ - -LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s) +LttTime ltt_trace_start_time(LttTrace *t) { - return s->trace_start; + return t->start_time; } - LttTracefile *ltt_tracefile_new() { return g_new(LttTracefile, 1); -- 2.34.1