add get start time monotonic
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 13 Sep 2005 19:34:54 +0000 (19:34 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 13 Sep 2005 19:34:54 +0000 (19:34 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1176 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/trace.h
ltt/branches/poly/ltt/tracefile.c

index 71ef9bca69221beb2ffcea244ac64d19b474910c..2e8ec3a101871969c97f1f57cd27355e30c10cca 100644 (file)
@@ -141,10 +141,14 @@ gchar * ltt_trace_system_description_domain_name (LttSystemDescription * s);
 gchar * ltt_trace_system_description_description (LttSystemDescription * s);
 
 
-/* get the start time of the trace */
+/* get the NTP start time of the trace */
 
 LttTime ltt_trace_start_time(LttTrace *t);
 
+/* get the monotonic start time of the trace */
+
+LttTime ltt_trace_start_time_monotonic(LttTrace *t);
+
 /* copy tracefile info over another. Used for sync. */
 LttTracefile *ltt_tracefile_new();
 void ltt_tracefile_destroy(LttTracefile *tf);
index af3b02fe4b7f29a23992fc7ab64dacd505b4320d..b2ef31319ed6ab1420294b1b8dcfd4ea538e4dd0 100644 (file)
@@ -2555,12 +2555,18 @@ char * ltt_trace_system_description_description (LttSystemDescription * s)
 }
 
 
-/* get the start time of the trace */
+/* get the NTP corrected start time of the trace */
 LttTime ltt_trace_start_time(LttTrace *t)
 {
   return t->start_time;
 }
 
+/* get the monotonic start time of the trace */
+LttTime ltt_trace_start_time_monotonic(LttTrace *t)
+{
+  return t->start_time_from_tsc;
+}
+
 LttTracefile *ltt_tracefile_new()
 {
   return g_new(LttTracefile, 1);
This page took 0.02609 seconds and 4 git commands to generate.