Beispiel #1
0
    def timestamp(self):
        """
        Event timestamp (nanoseconds since Epoch).
        """

        ret, value = nbt._bt_ctf_get_timestamp(self._e)
        if ret < 0:
            raise RuntimeError("Failed to get event timestamp")
        return value
Beispiel #2
0
    def timestamp(self):
        """
        Event timestamp (nanoseconds since Epoch).
        """

        ret, value = nbt._bt_ctf_get_timestamp(self._e)
        if ret < 0:
            raise RuntimeError("Failed to get event timestamp")
        return value
Beispiel #3
0
    def timestamp(self):
        """
        Event timestamp (nanoseconds since Epoch) or -1 on error.
        """

        return nbt._bt_ctf_get_timestamp(self._e)
Beispiel #4
0
    def timestamp(self):
        """
        Event timestamp (nanoseconds since Epoch) or -1 on error.
        """

        return nbt._bt_ctf_get_timestamp(self._e)