Function zmesh::log_cost_time

Function Documentation

void zmesh::log_cost_time(std::function<void()> f)

计算程序消耗时间, 并打印. 用来测试性能瓶颈