Menu

#18 Integer overflow in getWCET

open
Clepsydra (7)
5
2008-09-01
2008-09-01
No

The getWCET computation in Clepsydra uses int (32-bit) precision. This can cause overflow for long-running methods, resulting in negative WCET values. This can be fixed by changing the API (and the internal algorithms) to use the arbitrary-precision BigInteger instead of int.

Discussion


Log in to post a comment.