77#include < sstream>
88#include < utility>
99
10- ppc::core::Perf::Perf (const std::shared_ptr<Task> & task) { SetTask (task); }
10+ ppc::core::Perf::Perf (const std::shared_ptr<Task>& task) { SetTask (task); }
1111
12- void ppc::core::Perf::SetTask (const std::shared_ptr<Task> & task) {
12+ void ppc::core::Perf::SetTask (const std::shared_ptr<Task>& task) {
1313 task->get_data ()->state_of_testing = TaskData::StateOfTesting::PERF;
1414 this ->task = task;
1515}
1616
1717void ppc::core::Perf::PipelineRun (const std::shared_ptr<PerfAttr>& perf_attr,
18- const std::shared_ptr<ppc::core::PerfResults>& perf_results) {
18+ const std::shared_ptr<ppc::core::PerfResults>& perf_results) {
1919 perf_results->type_of_running = PerfResults::TypeOfRunning::PIPELINE;
2020
2121 CommonRun (
@@ -30,7 +30,7 @@ void ppc::core::Perf::PipelineRun(const std::shared_ptr<PerfAttr>& perf_attr,
3030}
3131
3232void ppc::core::Perf::TaskRun (const std::shared_ptr<PerfAttr>& perf_attr,
33- const std::shared_ptr<ppc::core::PerfResults>& perf_results) {
33+ const std::shared_ptr<ppc::core::PerfResults>& perf_results) {
3434 perf_results->type_of_running = PerfResults::TypeOfRunning::TASK_RUN;
3535
3636 task->validation ();
@@ -45,7 +45,7 @@ void ppc::core::Perf::TaskRun(const std::shared_ptr<PerfAttr>& perf_attr,
4545}
4646
4747void ppc::core::Perf::CommonRun (const std::shared_ptr<PerfAttr>& perf_attr, const std::function<void ()>& pipeline,
48- const std::shared_ptr<ppc::core::PerfResults>& perf_results) {
48+ const std::shared_ptr<ppc::core::PerfResults>& perf_results) {
4949 auto begin = perf_attr->current_timer ();
5050 for (uint64_t i = 0 ; i < perf_attr->num_running ; i++) {
5151 pipeline ();
0 commit comments