profiler: improve profiler stats

The driver and follower signal times are currently the same timestamp
so allow a 0 difference between the driver and follower signal time
to calculate the scheduling delay.
This commit is contained in:
Wim Taymans 2023-05-06 10:54:57 +02:00
parent 2a0f1597ab
commit 2ed65a7e36

View file

@ -213,7 +213,7 @@ static void dump_point(struct data *d, struct point *point)
d4 > 0 ? d4 : 0,
d5 > 0 ? d5 : 0,
d6 > 0 ? d6 : 0,
(d5 > 0 && d4 > 0 && d5 > d4) ? d5 - d4 : 0,
(d5 > 0 && d4 >= 0 && d5 > d4) ? d5 - d4 : 0,
(d6 > 0 && d5 > 0 && d6 > d5) ? d6 - d5 : 0,
point->follower[i].status);
}