Get rid of clock-raw and use real clock
[babeltrace.git] / lib / trace-collection.c
index 42d809623d419d22d2df194fe88e45c92ae6592b..c117874812bfebf28110ee8d9c3013ac16402831 100644 (file)
@@ -132,7 +132,8 @@ static void clock_add(gpointer key, gpointer value, gpointer user_data)
 
 /*
  * Whenever we add a trace to the trace collection, check that we can
- * correlate this trace with at least one other clock in the trace.
+ * correlate this trace with at least one other clock in the trace and
+ * convert the index from cycles to real time.
  */
 int trace_collection_add(struct trace_collection *tc,
                                struct trace_descriptor *td)
@@ -177,6 +178,7 @@ int trace_collection_add(struct trace_collection *tc,
                                clock_add,
                                &clock_match);
        }
+
        return 0;
 error:
        return -EPERM;
This page took 0.022884 seconds and 4 git commands to generate.