Lines Matching defs:Function
18 // Define a function that executes the code to be measured a
25 // Register the function as a benchmark
100 // For more complex patterns of inputs, passing a custom function
299 // The DoNotOptimize(...) function can be used to prevent a value or
300 // expression from being optimized away by the compiler. This function is
448 // For threaded benchmarks the PauseTiming() function only pauses the timing
462 // benchmark function. It begins running after control flow enters the
486 // the current scope immediately. If the function is called from within
655 typedef void(Function)(State&);
671 // to the function.
672 // REQUIRES: The function passed to the constructor must accept an arg1.
680 // REQUIRES: The function passed to the constructor must accept an arg1.
685 // REQUIRES: The function passed to the constructor must accept an arg1.
689 // to the function.
690 // REQUIRES: The function passed to the constructor must accept arg1, arg2 ...
705 // REQUIRES: The function passed to the constructor must accept arg1, arg2 ...
742 // NOTE: This function should only be used when *exact* iteration control is
795 // function concurrently. For example, consider:
857 internal::Function* fn);
869 // The class used to hold all Benchmarks created from static function.
873 FunctionBenchmark(const char* name, Function* func)
879 Function* func_;
906 internal::Function* fn) {
994 // Register a benchmark which invokes the function specified by `func`
1014 // This will register a benchmark for a templatized function. For example:
1247 // Inform print function whether the current run is a complexity report
1262 // never started if this function returns false, allowing the reporter