Beispiel #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)
Beispiel #2
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)
Beispiel #3
0
    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
Beispiel #4
0
    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