implement library for cc_benchmark