Python bindings: Add UUID accessors to the Clock class
[babeltrace.git] / bindings / python / examples / ctf_writer.py
index fd9ce1595b26a48313638700f424e2ab456d3eb7..b7bd73f2b5252fd7b8613893c81b8aa6f3ec9349 100644 (file)
@@ -36,6 +36,7 @@ print("Clock offset_seconds is {}".format(clock.offset_seconds))
 print("Clock offset is {}".format(clock.offset))
 print("Clock is absolute: {}".format(clock.absolute))
 print("Clock time is {}".format(clock.time))
+print("Clock UUID is {}".format(clock.uuid))
 
 writer.add_clock(clock)
 writer.add_environment_field("Python_version", str(sys.version_info))
This page took 0.023364 seconds and 4 git commands to generate.