add get start time monotonic
[lttv.git] / ltt / branches / poly / ltt / tracefile.c
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.023644 seconds and 4 git commands to generate.