simple c++ timer class, tic() / toc() a la matlab