[PATCH v8 08/13] perf test: Add thread loop test tool