include time.h for clock().