RE: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-15 Thread Linhaifeng
Hi, PC Thank you every much! -Original Message- From: Paul Clarke [mailto:p...@us.ibm.com] Sent: 2019年4月15日 20:53 To: Linhaifeng ; linux-perf-us...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: perf tools:Is there any tools to found out the max latency by irq or cpu idle

RE: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-15 Thread Linhaifeng
any tools to found out the max latency by irq or cpu idle Em Mon, Apr 15, 2019 at 07:52:59AM -0500, Paul Clarke escreveu: > On 4/13/19 1:01 AM, Linhaifeng wrote: > > Sorry, the value 131081408 is just for example. Actually the result is like > > this: > > sqrt 2019-04-10 23

Re: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-15 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 15, 2019 at 07:52:59AM -0500, Paul Clarke escreveu: > On 4/13/19 1:01 AM, Linhaifeng wrote: > > Sorry, the value 131081408 is just for example. Actually the result is like > > this: > > sqrt 2019-04-10 23:53:50: 43968 > > sqrt 2019-04-10 23:53:51: 44060 > > sqrt 2019-04-10 23:53:52:

Re: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-15 Thread Paul Clarke
.com] > Sent: 2019年4月12日 22:06 > To: Linhaifeng ; linux-perf-us...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: perf tools:Is there any tools to found out the max latency by > irq or cpu idle > > On 4/11/19 8:57 PM, Linhaifeng wrote: >> Hi, >> I have a

Re: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-13 Thread William Cohen
g; > linux-kernel@vger.kernel.org > Subject: Re: perf tools:Is there any tools to found out the max latency by > irq or cpu idle > > On 4/11/19 8:57 PM, Linhaifeng wrote: >> Hi, >> I have a single thread application like this: >> >> While (1) { >>     s

RE: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-12 Thread Linhaifeng
-us...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: perf tools:Is there any tools to found out the max latency by irq or cpu idle On 4/11/19 8:57 PM, Linhaifeng wrote: > Hi, > I have a single thread application like this: > > While (1) { >     start = rdtsc(); &

Re: perf tools:Is there any tools to found out the max latency by irq or cpu idle

2019-04-12 Thread William Cohen
On 4/11/19 8:57 PM, Linhaifeng wrote: > Hi, > I have a single thread application like this: > > While (1) { >     start = rdtsc(); >     sqrt (1024);  >   end = rdtsc(); >   cycles = end – start; >   printf("cycles: %d-%02d-%02d %02d:%02d:%02d: %lu\n", >   1900+timeinfo->tm_year, 1+time