git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ethdev: fix doxygen internal comments
[dpdk.git]
/
examples
/
timer
/
main.c
diff --git
a/examples/timer/main.c
b/examples/timer/main.c
index
a5ff015
..
37ad559
100644
(file)
--- a/
examples/timer/main.c
+++ b/
examples/timer/main.c
@@
-41,7
+41,6
@@
#include <rte_memory.h>
#include <rte_memzone.h>
#include <rte_launch.h>
#include <rte_memory.h>
#include <rte_memzone.h>
#include <rte_launch.h>
-#include <rte_tailq.h>
#include <rte_eal.h>
#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_eal.h>
#include <rte_per_lcore.h>
#include <rte_lcore.h>
@@
-49,8
+48,6
@@
#include <rte_timer.h>
#include <rte_debug.h>
#include <rte_timer.h>
#include <rte_debug.h>
-#include "main.h"
-
#define TIMER_RESOLUTION_CYCLES 20000000ULL /* around 10ms at 2 Ghz */
static struct rte_timer timer0;
#define TIMER_RESOLUTION_CYCLES 20000000ULL /* around 10ms at 2 Ghz */
static struct rte_timer timer0;
@@
-115,7
+112,7
@@
lcore_mainloop(__attribute__((unused)) void *arg)
}
int
}
int
-
MAIN
(int argc, char **argv)
+
main
(int argc, char **argv)
{
int ret;
uint64_t hz;
{
int ret;
uint64_t hz;