check in a time cost checker.