Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ ColumnLimit: 120
UseTab: Never
QualifierAlignment: Left
PointerAlignment: Right
ReferenceAlignment: Right
SortUsingDeclarations: LexicographicNumeric
InsertNewlineAtEOF: true
LambdaBodyIndentation: OuterScope
MaxEmptyLinesToKeep: 1
KeepEmptyLines:
AtStartOfFile: false
AtStartOfBlock: false
AtEndOfFile: false
LineEnding: LF
15 changes: 6 additions & 9 deletions modules/core/perf/src/perf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@ ppc::core::Perf::Perf(const std::shared_ptr<Task>& task_ptr) : task_(task_ptr) {
void ppc::core::Perf::PipelineRun(const PerfAttr& perf_attr) {
perf_results_.type_of_running = PerfResults::TypeOfRunning::kPipeline;

CommonRun(
perf_attr,
[&]() {
task_->Validation();
task_->PreProcessing();
task_->Run();
task_->PostProcessing();
},
perf_results_);
CommonRun(perf_attr, [&]() {
task_->Validation();
task_->PreProcessing();
task_->Run();
task_->PostProcessing();
}, perf_results_);
}

void ppc::core::Perf::TaskRun(const PerfAttr& perf_attr) {
Expand Down
Loading