diff options
Diffstat (limited to 'content/other/timed.cpp')
| -rw-r--r-- | content/other/timed.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/other/timed.cpp b/content/other/timed.cpp new file mode 100644 index 0000000..b3ed4ef --- /dev/null +++ b/content/other/timed.cpp @@ -0,0 +1,3 @@ +int times = clock(); +//run for 900ms +while (1000*(clock()-times)/CLOCKS_PER_SEC < 900) {...} |
