Commit 01c80bfb by Tobias Langer

Choose from wider range.

parent 27ab5a64
...@@ -96,7 +96,7 @@ def get_timebase_string(base): ...@@ -96,7 +96,7 @@ def get_timebase_string(base):
return 'std::chrono::nanoseconds', 'embb::base::DurationNanoseconds' return 'std::chrono::nanoseconds', 'embb::base::DurationNanoseconds'
def create_task(distribution): def create_task(distribution):
period = random.uniform(30, 50) period = random.uniform(10, 100)
if distribution is Distribution.uniform: if distribution is Distribution.uniform:
util = random.uniform(1.0 / period, 1.0) util = random.uniform(1.0 / period, 1.0)
elif distribution is Distribution.bimodal: elif distribution is Distribution.bimodal:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment