version 1.3, 2013/07/09 00:35:35
|
version 1.4.12.2, 2016/08/11 16:23:43
|
Line 1
|
Line 1
|
|
#ifdef __linux__ |
|
int main() |
|
{ |
|
return 0; |
|
} |
|
#else |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <fcntl.h> |
#include <fcntl.h> |
Line 255 main(int argc, char **argv)
|
Line 262 main(int argc, char **argv)
|
char ch, mode = 'R'; |
char ch, mode = 'R'; |
struct timespec ts_start, ts_end; |
struct timespec ts_start, ts_end; |
void *bz = NULL; |
void *bz = NULL; |
|
ether_addr_t ea; |
|
|
while ((ch = getopt(argc, argv, "hvwzs:p:f:")) != -1) |
while ((ch = getopt(argc, argv, "hvwzs:p:f:")) != -1) |
switch (ch) { |
switch (ch) { |
Line 370 main(int argc, char **argv)
|
Line 378 main(int argc, char **argv)
|
printf("0.%09lu per/iteration\n", ts_end.tv_sec + ts_end.tv_nsec / i); |
printf("0.%09lu per/iteration\n", ts_end.tv_sec + ts_end.tv_nsec / i); |
return 0; |
return 0; |
} |
} |
|
|
|
#endif |