TickDuration deprecation

Rumbu rumbu at rumbu.ro
Sun Nov 19 16:55:06 UTC 2017


On Sunday, 19 November 2017 at 16:02:34 UTC, Jonathan M Davis 
wrote:

> Was the documentation on Duration not informative enough, or 
> did you have trouble finding it from the documentation for the 
> benchmarking functions, or something else? Simply converting a 
> Duration to a string gives you what I would have thought would 
> have been plenty human readable (though obviously not 
> necessarily what you want in all cases), and it's split and 
> total functions should make it straightforward to put the 
> result in some other format if that's what you want. Was the 
> documentation on those not enough?
>
> - Jonathan M Davis

The documentation on Duration doesn't specify any method of 
converting it to usecs (that's what I need). TickDuration has a 
usecs member, I really don't care how many ticks are there.




More information about the Digitalmars-d mailing list