using clock() for timing macro