Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Measure
Function
Measure
library/cpp/testing/benchmark/bench.cpp:144–150 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
142
143
template <class TMyTimer, class T>
144
inline double Measure(T&& t, size_t n) {
145
TMyTimer timer;
146
147
t(n);
148
149
return timer.Passed();
150
}
151
152
struct TSampleIterator {
153
inline size_t Next() noexcept {
Callers
1
Pack
Method · 0.85
Calls
1
Passed
Method · 0.45
Tested by
no test coverage detected