Re: [CIL users] CPU Time limit

2009-03-25 Thread Gabriel Kerneis
Hi, On Wed, Mar 25, 2009 at 01:50:58PM -0700, Benjamin Ylvisaker wrote: > 1) In CIL itself, spawn another thread that monitors CPU time > consumption and sleeps most of the time. When the time limit is > reached, print out a message and kill the whole process. After some > light documentat

[CIL users] CPU Time limit

2009-03-25 Thread Benjamin Ylvisaker
I have implemented some optimizations with CIL that have the potential to take an unreasonable amount of time. I want to run lots of slightly different versions of these optimizations on a cluster, and I want to implement some sort of CPU time limit. I have two ideas about how to implemen