source:https://gist.github.com/xianyi/5780018
and more description: https://github.com/xianyi/OpenBLAS/wiki/User-Manual

to compile:
gcc time_dgemm.c -lcblas

to run:
./time_dgemm <m> <n> <k>
