[programmingPearls][appendix_c]time cost measure.c