Re: [PATCH] rtla/osnoise: Better report when histogram is empty

2024-06-21 Thread Daniel Bristot de Oliveira
On 6/12/24 16:12, John Kacur wrote: >> +/* There are samples above the threshold */ > IMHO The comment isn't needed because the variable had_samples is > descriptive, but it's not a big deal either Yeah, I would not do it too, but it is fine. I am adding it to my queue. Thanks Luis

Re: [PATCH] rtla/osnoise: Better report when histogram is empty

2024-06-12 Thread John Kacur
On Wed, 12 Jun 2024, Luis Claudio R. Goncalves wrote: > When osnoise hist does not observe any samples above the threshold, > no entries are recorded and the final report shows empty entries > for the usual statistics (count, min, max, avg): > > [~]# osnoise hist -d 5s -T 500 > # RTLA

[PATCH] rtla/osnoise: Better report when histogram is empty

2024-06-12 Thread Luis Claudio R. Goncalves
When osnoise hist does not observe any samples above the threshold, no entries are recorded and the final report shows empty entries for the usual statistics (count, min, max, avg): [~]# osnoise hist -d 5s -T 500 # RTLA osnoise histogram # Time unit is microseconds (us) #