Measure cpu time

Andre Pany andre at s-e-a-p.de
Fri May 7 08:25:43 UTC 2021


Hi,

I try to convert some python code to D. On python I can get the 
cpu time for the current
process using

``` python
dcpu: float = time.process_time()
```

Is there some equivalent function in Phobos to get the cpu time 
on linux?

Kind regards
André


More information about the Digitalmars-d-learn mailing list