Re: High CPU utilization with Pylab

2010-09-05 Thread David
Il Sun, 5 Sep 2010 03:05:54 -0700 (PDT), Madhur ha scritto: > Is there something which does not makes sense .? 1. How, a computer, is supposed to handle your infinite loop? 2. Running ghraphs shuold be handled in totally different way: look at the "stripcharting" demo in this zip http://agni.phy

High CPU utilization with Pylab

2010-09-05 Thread Madhur
I am trying to plot a runtime graph using pylab. But the very purpose of functionality is lost because of high CPU percentage hogged by plotting the graph. Here is the piece of code which I have written. def timerfunc(ulcm, dlcm): count=0 xaxis=[] yaxis=[] ion() while 1: