an easy c++ wrapper for linux timing function under sys/time.h.