File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
wpimath/src/test/native/cpp Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -115,12 +115,8 @@ template <size_t N>
115
115
void Time (
116
116
std::function<void ()> action, std::function<void()> setup = [] {},
117
117
std::string_view prefix = " " ) {
118
- fmt::print (" Initializing Time() arr\n " );
119
- std::fflush (stdout);
120
118
wpi::array<units::nanosecond_t , N> durations (wpi::empty_array);
121
119
122
- fmt::print (" Filling durations\n " );
123
- std::fflush (stdout);
124
120
for (size_t i = 0 ; i < N; ++i) {
125
121
setup ();
126
122
auto start = std::chrono::steady_clock::now ();
@@ -131,7 +127,7 @@ void Time(
131
127
132
128
fmt::print (" Processing durations\n " );
133
129
std::fflush (stdout);
134
- ProcessDurations (durations, prefix);
130
+ ProcessDurations<N> (durations, prefix);
135
131
}
136
132
137
133
void TimeSuite (
You can’t perform that action at this time.
0 commit comments