lkml.org 
[lkml]   [2012]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[Perf] Adding timeout option
From
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 --timeout=10 sleep 100

This will make perf return and report stats after 10 ms...

Hope anyone can shed some more light on the idea

Thanks & Regards,
Abhishek Agarwal


\
 
 \ /
  Last update: 2012-10-13 18:21    [W:0.067 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site