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
00028
00029
00030 #ifndef __DISPATCH_BENCHMARK__
00031 #define __DISPATCH_BENCHMARK__
00032
00033 #ifndef __DISPATCH_INDIRECT__
00034 #error "Please #include <dispatch/dispatch.h> instead of this file directly."
00035 #include <dispatch/base.h>
00036 #endif
00037
00038 __DISPATCH_BEGIN_DECLS
00039
00072 #ifdef __BLOCKS__
00073 __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
00074 DISPATCH_EXPORT DISPATCH_NONNULL2 DISPATCH_NOTHROW
00075 uint64_t
00076 dispatch_benchmark(size_t count, void (^block)(void));
00077 #endif
00078
00079 __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
00080 DISPATCH_EXPORT DISPATCH_NONNULL3 DISPATCH_NOTHROW
00081 uint64_t
00082 dispatch_benchmark_f(size_t count, void *ctxt, void (*func)(void *));
00083
00084 __DISPATCH_END_DECLS
00085
00086 #endif