On Friday, 7 May 2021 at 08:25:43 UTC, Andre Pany wrote:
Hi,I try to convert some python code to D. On python I can get the cpu time for the currentprocess using ``` python dcpu: float = time.process_time() ```Is there some equivalent function in Phobos to get the cpu time on linux?Kind regards André
Take a look at https://code.dlang.org/packages/getr