Fix: offset_s and CTF clocks with frequency != 1GHz
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Oct 2014 19:23:46 +0000 (15:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Oct 2014 19:25:59 +0000 (15:25 -0400)
commitc64b79435d932e3a7e96fd3831d16b58a1278361
tree574ca7b92cd9f20bb6b726d930e9b27592b60ac2
parentd521c3185c6e7849454cf055fc913f8848e59e83
Fix: offset_s and CTF clocks with frequency != 1GHz

Take into account offset_s from the clock description when calculating
the tc_offset in ctf_get_real_timestamp().

Do not assume that the single_clock->offset field is at a frequency of
1GHz. Take into account the its clock frequency.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/events-private.h
include/babeltrace/clock-internal.h
lib/trace-collection.c
This page took 0.024136 seconds and 4 git commands to generate.