Claus Kühnel
/
sieve
Sieve of Erastothenes Benchmark
Diff: main.cpp
- Revision:
- 1:0c5680e1cfbc
- Parent:
- 0:d11e3ed28115
--- a/main.cpp Tue Feb 16 18:09:55 2016 +0000 +++ b/main.cpp Tue Feb 16 18:31:53 2016 +0000 @@ -31,6 +31,7 @@ int main() { + myled = 0; pc.baud(115200); pc.printf("Sieve of Eratosthenes - Arch Pro\n"); @@ -56,6 +57,7 @@ } } } + myled = 1; time = timer.read_ms() - time; pc.printf("%d primes.\n", count); pc.printf("Runtime = %d ms\n",time);