Deprecated old API
PiperOrigin-RevId: 343993013 Change-Id: Id80d11db198d3bdbd3828de81fde9977294d0a89
This commit is contained in:
parent
fc72a2069e
commit
a926293495
@ -66,7 +66,7 @@ class Benchmark {
|
|||||||
// This function is deprecated. Use the overload that takes
|
// This function is deprecated. Use the overload that takes
|
||||||
// `benchmark::State&`
|
// `benchmark::State&`
|
||||||
// instead.
|
// instead.
|
||||||
void Run(int iters);
|
[[deprecated("use `Run(benchmark::State&)` instead.")]] void Run(int iters);
|
||||||
|
|
||||||
void Run(::testing::benchmark::State& state);
|
void Run(::testing::benchmark::State& state);
|
||||||
|
|
||||||
@ -77,9 +77,10 @@ class Benchmark {
|
|||||||
// graph.
|
// graph.
|
||||||
// This function is deprecated. Use the overload that takes
|
// This function is deprecated. Use the overload that takes
|
||||||
// `benchmark::State&` instead.
|
// `benchmark::State&` instead.
|
||||||
void RunWithRendezvousArgs(
|
[[deprecated(
|
||||||
const std::vector<std::pair<string, Tensor>>& inputs,
|
"use `RunWithRendezvousArgs(...,benchmark::State&)` instead.")]] void
|
||||||
const std::vector<string>& outputs, int iters);
|
RunWithRendezvousArgs(const std::vector<std::pair<string, Tensor>>& inputs,
|
||||||
|
const std::vector<string>& outputs, int iters);
|
||||||
|
|
||||||
void RunWithRendezvousArgs(
|
void RunWithRendezvousArgs(
|
||||||
const std::vector<std::pair<string, Tensor>>& inputs,
|
const std::vector<std::pair<string, Tensor>>& inputs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user