On Thu, Aug 17, 2017 at 7:53 PM, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
Are you aware of the profile tools inside Pharo ? They capture execution and offer detailed analysis of how much time is spent on each task. One of it can be found in World Menu -> Tools -> Time Profiler
Thats good for a normal behaving process, but I'm not sure it helps identify a currently-misbehaving process. A (virtual)CPU % could be useful addition to Process Browser. cheers -ben
Generally speaking a while loop that runs all the time without any kind of delays is a very popular way to consume 100%. Even if the while loop does nothing it will still consume %100 because even executing an empty loops has costs. Two solution is inserting a delay in the loop so the loop have to wait for 1 millisecond or less depending your demands or just make sure the loop has a very specific condition so it executes only when you need to.
On Wed, Aug 16, 2017 at 10:04 PM sergio ruiz <sergio.rrd@gmail.com> wrote:
hey all.. my current pharo implementation is running super serious processor power, but it shouldnât be doing much.
[image: Activity_Monitor__All_Processes__and_Pharo_image.jpg]
how would I go about tracking this inside the pharo image?
Thanks!
---- peace, sergio photographer, journalist, visionary
Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV http://www.Village-Buzz.com <http://www.village-buzz.com/> http://www.ThoseOptimizeGuys.com <http://www.thoseoptimizeguys.com/> http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101