Changeset 1977
- Timestamp:
- 04/16/08 20:34:21 (7 months ago)
- Location:
- features/performance
- Files:
-
- 6 modified
-
configure.in (modified) (2 diffs)
-
src/common/timer.h (modified) (2 diffs)
-
src/config.h.in (modified) (3 diffs)
-
src/sleep.c (modified) (1 diff)
-
src/sleep.h (modified) (1 diff)
-
src/tcpreplay_opts.def (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
features/performance/configure.in
r1970 r1977 132 132 133 133 dnl Check for other header files 134 AC_CHECK_HEADERS([fcntl.h stddef.h sys/socket.h arpa/inet.h sys/time.h signal.h string.h strings.h sys/types.h sys/select.h netinet/in.h poll.h sys/poll.h unistd.h sys/param.h sys/io.h architecture/i386/pio.h sys/select.h ])134 AC_CHECK_HEADERS([fcntl.h stddef.h sys/socket.h arpa/inet.h sys/time.h signal.h string.h strings.h sys/types.h sys/select.h netinet/in.h poll.h sys/poll.h unistd.h sys/param.h sys/io.h architecture/i386/pio.h sys/select.h sys/event.h]) 135 135 136 136 dnl OpenBSD has special requirements … … 1037 1037 dnl Do we support the RDTSC? 1038 1038 case $host in 1039 i 386-*|x86_64-*|powerpc-*)1039 i?86-*|x86_64-*|powerpc-*) 1040 1040 AC_DEFINE([HAVE_RDTSC], [1], [Does the CPU support the RDTSC?]) 1041 1041 ;; -
features/performance/src/common/timer.h
r1976 r1977 97 97 #endif 98 98 99 #ifndef ROUND_TIMESPEC_TO_MICROSEC (ts)99 #ifndef ROUND_TIMESPEC_TO_MICROSEC 100 100 #define ROUND_TIMESPEC_TO_MICROSEC(ts) \ 101 101 do { \ … … 230 230 } 231 231 last.tv_sec = now.tv_sec; 232 last.tv_ nsec = now.tv_nsec;232 last.tv_usec = now.tv_usec; 233 233 #endif 234 234 } -
features/performance/src/config.h.in
r1970 r1977 283 283 #undef HAVE_SYS_DIR_H 284 284 285 /* Define to 1 if you have the <sys/event.h> header file. */ 286 #undef HAVE_SYS_EVENT_H 287 285 288 /* Define to 1 if you have the <sys/io.h> header file. */ 286 289 #undef HAVE_SYS_IO_H … … 412 415 #undef RETSIGTYPE 413 416 414 /* The size of `char*', as computed by sizeof. */417 /* The size of a `char*', as computed by sizeof. */ 415 418 #undef SIZEOF_CHARP 416 419 417 /* The size of `int', as computed by sizeof. */420 /* The size of a `int', as computed by sizeof. */ 418 421 #undef SIZEOF_INT 419 422 420 /* The size of `long', as computed by sizeof. */423 /* The size of a `long', as computed by sizeof. */ 421 424 #undef SIZEOF_LONG 422 425 423 /* The size of `short', as computed by sizeof. */426 /* The size of a `short', as computed by sizeof. */ 424 427 #undef SIZEOF_SHORT 425 428 … … 470 473 #undef malloc 471 474 472 /* Define to `unsigned int' if <sys/types.h> does not define. */475 /* Define to `unsigned' if <sys/types.h> does not define. */ 473 476 #undef size_t 474 477 -
features/performance/src/sleep.c
r1972 r1977 38 38 #include <sys/time.h> 39 39 #include <unistd.h> 40 #include <sys/event.h>41 40 #include <errno.h> 42 41 #include <string.h> 42 43 #ifdef HAVE_SYS_EVENT 44 #include <sys/event.h> 45 #endif 43 46 44 47 /* necessary for ioport_sleep() functions */ -
features/performance/src/sleep.h
r1974 r1977 42 42 #include <sys/time.h> 43 43 #include <unistd.h> 44 #include <sys/event.h>45 44 #include <errno.h> 46 45 #include <string.h> 46 #ifdef HAVE_SYS_EVENT 47 #include <sys/event.h> 48 #endif 47 49 48 50 /* necessary for ioport_sleep() functions */ -
features/performance/src/tcpreplay_opts.def
r1970 r1977 156 156 157 157 flag = { 158 ifdef = HAVE_RDTSC;159 158 name = rdtsc-clicks; 160 159 max = 1;
