Re: [Perf] Adding timeout option

2012-10-22 Thread Pádraig Brady
On 10/21/2012 05:18 AM, abhishek agarwal wrote: perfmon had "timeout" option and i guess, same do oprofile. On Sat, Oct 20, 2012 at 1:58 AM, Pádraig Brady wrote: On 10/13/2012 08:54 AM, abhishek agarwal wrote: Hi folks.. I was thinking that why cant we have a timeout option in perf stat

Re: [Perf] Adding timeout option

2012-10-22 Thread Pádraig Brady
On 10/21/2012 05:18 AM, abhishek agarwal wrote: perfmon had timeout option and i guess, same do oprofile. On Sat, Oct 20, 2012 at 1:58 AM, Pádraig Brady p...@draigbrady.com wrote: On 10/13/2012 08:54 AM, abhishek agarwal wrote: Hi folks.. I was thinking that why cant we have a timeout

Re: [Perf] Adding timeout option

2012-10-20 Thread abhishek agarwal
sleep does not offer a good timeout resolution and it is not a good option (according to me) either. perfmon had "timeout" option and i guess, same do oprofile. On Sat, Oct 20, 2012 at 1:58 AM, Pádraig Brady wrote: > On 10/13/2012 08:54 AM, abhishek agarwal wrote: >> >> Hi folks.. >> >> I was

Re: [Perf] Adding timeout option

2012-10-20 Thread Pádraig Brady
On 10/13/2012 08:54 AM, abhishek agarwal wrote: Hi folks.. I was thinking that why cant we have a timeout option in perf stat command. The timeout feature will help us to profile a process for a stipulated time (preferably in millisecs) and make perf stat return after that time. Eg: perf stat

Re: [Perf] Adding timeout option

2012-10-20 Thread Pádraig Brady
On 10/13/2012 08:54 AM, abhishek agarwal wrote: Hi folks.. I was thinking that why cant we have a timeout option in perf stat command. The timeout feature will help us to profile a process for a stipulated time (preferably in millisecs) and make perf stat return after that time. Eg: perf stat

Re: [Perf] Adding timeout option

2012-10-20 Thread abhishek agarwal
sleep does not offer a good timeout resolution and it is not a good option (according to me) either. perfmon had timeout option and i guess, same do oprofile. On Sat, Oct 20, 2012 at 1:58 AM, Pádraig Brady p...@draigbrady.com wrote: On 10/13/2012 08:54 AM, abhishek agarwal wrote: Hi folks..