Move all sources to 'src/'
[lttng-ust.git] / python-lttngust / lttngust / compat.py
diff --git a/python-lttngust/lttngust/compat.py b/python-lttngust/lttngust/compat.py
deleted file mode 100644 (file)
index cfce407..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# -*- coding: utf-8 -*-
-# SPDX-License-Identifier: LGPL-2.1-only
-#
-# Copyright (C) 2020 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
-
-import sys
-import time
-
-
-# Support for deprecation of time.clock().
-# Deprecated since python 3.3 and removed in python 3.8.
-# See PEP 418 for more details.
-def _clock():
-    if sys.version_info > (3,2):
-        clock = time.perf_counter()
-    else:
-        clock = time.clock()
-    return clock
This page took 0.023801 seconds and 4 git commands to generate.