implement library for cc_benchmark

implement library for cc_benchmark