- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CallFunctionsBase (0.16 sec)
-
tensorflow/cc/experimental/libtf/tests/perf_test.cc
for (auto dummy : state) { sum = *(o.Get<Callable>(String("f")))->Call<Integer>(sum, Integer(i)); i++; } } // Add numbers in a loop by calling a raw C++ function with a function // pointer. void CallFunctionsBase(::testing::benchmark::State& state) { int64_t sum = 0; typedef int64_t (*Func)(int64_t a, int64_t b); volatile Func f_raw = AddRaw; Func f = f_raw; size_t i = 0; for (auto dummy : state) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 3K bytes - Viewed (0)