00001 #ifndef __OMEGA0_LIB_CONFIG_H 00002 #define __OMEGA0_LIB_CONFIG_H 00003 00004 00005 /* define the following if you want to measure the time from sending an 00006 IPC at server until receiving the IPC at client. The omega0-server must 00007 send the lowest 32Bit of the TSC in dw1, which can be ensured by setting 00008 the corresponding compiler-switch when compiling the server. The the lib 00009 compares this 32Bit with the current value and prints the result. 00010 00011 Note: Printing is VERY slow, use this feature only for measuring exactly 00012 this time and not in normal use (measuring the time is not so expensive, 00013 needs a few cycles.) 00014 00015 Note2: When enabling this feature, you have to link a printf 00016 implementation to your binary. 00017 */ 00018 //#define OMEGA0_LIB_MEASURE_CALL 00019 00020 #endif 00021