`fps = time_queue.size() * (float)cv::getTickFrequency() / (now-then);`