コード例 #1
0
    def timestamp_begin(self):
        """
        Buffers creation timestamp (nanoseconds since Epoch) of the
        underlying trace.
        """

        return nbt._bt_trace_handle_get_timestamp_begin(
            self._trace_collection._tc, self._id, _ClockType.CLOCK_REAL)
コード例 #2
0
ファイル: reader.py プロジェクト: brianrob/babeltrace
    def timestamp_begin(self):
        """
        Buffers creation timestamp (nanoseconds since Epoch) of the
        underlying trace.
        """

        return nbt._bt_trace_handle_get_timestamp_begin(self._trace_collection._tc,
                                                        self._id,
                                                        _ClockType.CLOCK_REAL)
コード例 #3
0
ファイル: reader.py プロジェクト: tuxology/babeltrace
    def timestamp_begin(self):
        """
        Buffers creation timestamp (nanoseconds since Epoch) of the
        underlying trace.
        """

        ret, value = nbt._bt_trace_handle_get_timestamp_begin(
            self._trace_collection._tc, self._id, _ClockType.CLOCK_REAL)
        if ret != 0:
            raise ValueError("Invalid TraceHandle")
        return value
コード例 #4
0
ファイル: reader.py プロジェクト: jdesfossez/babeltrace-dev
    def timestamp_begin(self):
        """
        Buffers creation timestamp (nanoseconds since Epoch) of the
        underlying trace.
        """

        ret, value = nbt._bt_trace_handle_get_timestamp_begin(
            self._trace_collection._tc, self._id, _ClockType.CLOCK_REAL)
        if ret != 0:
            raise ValueError("Invalid TraceHandle")
        return value