measure the costtime of c/c++ code-block
usage: make clean;make ./test_costtime
simple measure the costtime of c/c++ code-block