digitalmars.D.learn - Get program stats at run time
- Special opOps (2/2) Jun 30 2016 How can I get the program stats at run time such as minimum and
- FreeSlave (9/12) Jul 01 2016 OS is compile-time constant.
How can I get the program stats at run time such as minimum and maximum amount of memory and cpu used, cpu architecture, os, etc?
Jun 30 2016
On Thursday, 30 June 2016 at 21:56:57 UTC, Special opOps wrote:How can I get the program stats at run time such as minimum and maximum amount of memory and cpu used, cpu architecture, os, etc?OS is compile-time constant. Or do you look for something like detecting that windows application is ran actually in wine on some other operating system? For memory and cpu usage detecting I wrote https://github.com/MyLittleRobo/resusage a while ago. Currently works only on Linux and Windows though.
Jul 01 2016