From 5ab8a5088b729a9953b8dff1b2a985dc8fb2098b Mon Sep 17 00:00:00 2001 From: mzuenni Date: Mon, 27 Jun 2022 17:19:28 +0200 Subject: updated tcr --- other/timed.cpp | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 other/timed.cpp (limited to 'other/timed.cpp') diff --git a/other/timed.cpp b/other/timed.cpp new file mode 100644 index 0000000..20eec70 --- /dev/null +++ b/other/timed.cpp @@ -0,0 +1,3 @@ +int times = clock(); +//run for 900ms +while (clock()-times < 900) {...} -- cgit v1.2.3