Parallel : get cpu usage ?

Philippe Sigaud philippe.sigaud at gmail.com
Sun Dec 22 04:56:17 PST 2013


> Is there a way to get cpu usage to dynamically set the parallel options ?

> Conclusion :
> So it would be useful to have a "std" way to set the nice of the pid, and
> get the cpu usage and eventually deciding on which core -obviously the least
> busy- the parallel will start on and then, eventually, deploy to.
>
> Did I miss a hidden functionality that already does this ?
>
> Thanks

Doesn't std.parallelism deal with this, with task, taskPool and
parallel foreach?


More information about the Digitalmars-d mailing list