void main() {
import std.stdio;
import core.thread;
writeln("started");
Thread.sleep(3500.msecs);
writeln("ended");
}
The easiest way isn't to read the clock at all and instead just
put your program to sleep for a while:
- Simple timing Paul via Digitalmars-d-learn
- Re: Simple timing Adam D. Ruppe via Digitalmars-d-learn
- Re: Simple timing Rene Zwanenburg via Digitalmars-d-learn
- Re: Simple timing [solved... Paul via Digitalmars-d-learn
- Re: Simple timing Kagamin via Digitalmars-d-learn
