The JasPer library provides a simple timer class, which can be used more measuring elapsed time.
A timer is represented using the jas_tmr_t class. A list of the various functions/macros provided for this class is given below.
jas_tmr_t
jas_tmr_start()
jas_tmr_stop()
jas_tmr_get()