Messages in this thread | | | Date | Sat, 13 Oct 2012 21:24:20 +0530 | Subject | [Perf] Adding timeout option | From | abhishek agarwal <> |
| |
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
| |