summaryrefslogtreecommitdiff
path: root/lib/codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/codegen.py')
-rw-r--r--lib/codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/codegen.py b/lib/codegen.py
index d224a01..5aba3a3 100644
--- a/lib/codegen.py
+++ b/lib/codegen.py
@@ -166,7 +166,7 @@ class SimulatedAccountingMethod:
)
def _sleep_duration(self, duration_us):
- u"""
+ """
Return the sleep duration a timer with the configured timer frequency would measure, according to the configured granularity.
I.e., for a 35us sleep with a 50kHz timer (-> one tick per 20us) and 1us time resolution, the OS would likely measure one tick == 20us.