Hi Homer:
> Date: Wed, 6 Apr 2011 11:21:08 +0800 > From: John Homer H Alvero <[email protected]> > Subject: [plug] Perl Hog > To: "Philippine Linux Users' Group (PLUG) Technical Discussion List" ><[email protected]> > > Hello, > > How do I purposely hog CPU (in all cores) in a controlled manner? By >controlled manner I mean hogging CPU by 70% only or 80%. Thanks > I wonder if letting the CPU sleep for a small amount of time will prevent the CPU from hogging the whole memory. Putting it sleep for a few milliseconds? http://stackoverflow.com/questions/896904/how-do-i-sleep-for-a-millisecond-in-perl Regards, Ludwig _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

