Skip to content

Commit 00ce9ff

Browse files
committed
STYLE: Update to match clang-format-19 from ITK
1 parent 323dd32 commit 00ce9ff

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

src/PerformanceBenchmarkingInformation.cxx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ PerformanceBenchmarkingInformation ::PerformanceBenchmarkingInformation()
111111
m_InformationInstance = this; // threads need this
112112
m_InformationInstance->UnRegister(); // Remove extra reference
113113

114-
@MAPPING_VALUES@
114+
@MAPPING_VALUES @
115115
}
116116

117117
} // end namespace itk

test/itkHighPriorityRealTimeProbeTest.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,17 @@ itkHighPriorityRealTimeProbeTest(int, char *[])
6767
// time a task
6868
localTimer.Start();
6969

70-
double sum = 0.0;
71-
constexpr unsigned int big_stopping_criteria=1e6;
70+
double sum = 0.0;
71+
constexpr unsigned int big_stopping_criteria = 1e6;
7272
for (unsigned int i = 0; i < big_stopping_criteria; ++i)
7373
{
7474
sum += i;
7575
}
7676

7777
localTimer.Stop();
7878
// Need to use the variable sum to ensure that it is not optimized away.
79-
std::cout << " Time for simple addition summing loop with "
80-
<< big_stopping_criteria << " iterations: "
81-
<< localTimer.GetMean() << " sum = (" << sum << ")\n";
79+
std::cout << " Time for simple addition summing loop with " << big_stopping_criteria
80+
<< " iterations: " << localTimer.GetMean() << " sum = (" << sum << ")\n";
8281
}
8382

8483
if (!CheckTimeProbe(localTimer))

test/itkTimeProbeTest2.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,16 @@ itkTimeProbeTest2(int, char *[])
6969
// time a task
7070
localTimer.Start();
7171

72-
double sum = 0.0;
73-
constexpr unsigned int big_stopping_criteria=1e6;
72+
double sum = 0.0;
73+
constexpr unsigned int big_stopping_criteria = 1e6;
7474
for (unsigned int i = 0; i < big_stopping_criteria; ++i)
7575
{
7676
sum += i;
7777
}
7878
localTimer.Stop();
7979
// Need to use the variable sum to ensure that it is not optimized away.
80-
std::cout << " Time for simple addition summing loop with "
81-
<< big_stopping_criteria << " iterations: "
82-
<< localTimer.GetMean() << " sum = (" << sum << ")\n";
80+
std::cout << " Time for simple addition summing loop with " << big_stopping_criteria
81+
<< " iterations: " << localTimer.GetMean() << " sum = (" << sum << ")\n";
8382
}
8483

8584
if (!CheckTimeProbe(localTimer))

0 commit comments

Comments
 (0)