profiler: avoid negative times

This commit is contained in:
Wim Taymans 2020-02-03 13:14:56 +01:00
parent a4a93a2a16
commit 64391f1ed5

View file

@ -230,8 +230,8 @@ 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 : 0,
(d6 > 0 && d5 > 0) ? d6 - d5 : 0,
(d5 > 0 && d4 > 0 && d5 > d4) ? d5 - d4 : 0,
(d6 > 0 && d5 > 0 && d6 > d5) ? d6 - d5 : 0,
point->follower[i].status);
}
}