Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef __DISPATCH_BENCHMARK__
00028 #define __DISPATCH_BENCHMARK__
00029
00030 #ifndef __DISPATCH_INDIRECT__
00031 #error "Please #include <dispatch/dispatch.h> instead of this file directly."
00032 #include <dispatch/base.h>
00033 #endif
00034
00035 __DISPATCH_BEGIN_DECLS
00036
00069 #ifdef __BLOCKS__
00070 __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_4_0)
00071 DISPATCH_EXPORT DISPATCH_NONNULL2 DISPATCH_NOTHROW
00072 uint64_t
00073 dispatch_benchmark(size_t count, void (^block)(void));
00074 #endif
00075
00076 __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_4_0)
00077 DISPATCH_EXPORT DISPATCH_NONNULL3 DISPATCH_NOTHROW
00078 uint64_t
00079 dispatch_benchmark_f(size_t count, void *ctxt, void (*func)(void *));
00080
00081 __DISPATCH_END_DECLS
00082
00083 #endif