XDispatch 0.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
benchmark.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2009 Apple Inc. All rights reserved.
00003  *
00004  * @APPLE_APACHE_LICENSE_HEADER_START@
00005  * 
00006  * Licensed under the Apache License, Version 2.0 (the "License");
00007  * you may not use this file except in compliance with the License.
00008  * You may obtain a copy of the License at
00009  * 
00010  *     http://www.apache.org/licenses/LICENSE-2.0
00011  * 
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  * 
00018  * @APPLE_APACHE_LICENSE_HEADER_END@
00019  */
00020 
00021 /*
00022  * IMPORTANT: This header file describes INTERNAL interfaces to libdispatch
00023  * which are subject to change in future releases of Mac OS X. Any applications
00024  * relying on these interfaces WILL break.
00025  */
00026 
00027 #ifndef __DISPATCH_BENCHMARK__
00028 #define __DISPATCH_BENCHMARK__
00029 
00030 #ifndef XDISPATCH_DOYGEN_RUN
00031 
00032 #ifndef __DISPATCH_INDIRECT__
00033 #error "Please #include <dispatch/dispatch.h> instead of this file directly."
00034 #include <dispatch/base.h> // for HeaderDoc
00035 #endif
00036 
00037 __DISPATCH_BEGIN_DECLS
00038 
00067 #ifdef __BLOCKS__
00068 
00069 DISPATCH_EXPORT  
00070 uint64_t
00071 dispatch_benchmark(size_t count, void (^block)(void));
00072 #endif
00073 
00074 
00075 DISPATCH_EXPORT  
00076 uint64_t
00077 dispatch_benchmark_f(size_t count, void *ctxt, void (*func)(void *));
00078 
00079 __DISPATCH_END_DECLS
00080 
00081 #endif /* XDISPATCH_DOXYGEN_RUN */
00082 
00083 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Jan 27 2013 21:21:52 for XDispatch by Doxygen 1.7.6.1
© 2010-2013 MLBA (about | privacy) All Rights reserved.