StopWatch

Shriramana Sharma via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 20 00:48:12 PDT 2015


http://dlang.org/phobos/std_datetime.html#StopWatch shows the use of 
TickDuration to measure the time elapsed, but 
http://dlang.org/phobos/core_time.html#TickDuration says TickDuration is due 
to be deprecated and MonoTime should be used. It is possible to measure the 
duration between two points of one's program using MonoTime.currTime whose 
unit is Duration.

1) Will then StopWatch be modified to use MonoTime?
2) Is StopWatch still useful?
3) Or should it also be deprecated?

-- 
Shriramana Sharma, Penguin #395953


More information about the Digitalmars-d-learn mailing list