summaryrefslogtreecommitdiff
path: root/other/timed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'other/timed.cpp')
-rw-r--r--other/timed.cpp3
1 files changed, 3 insertions, 0 deletions
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) {...}