.. code-block:: console
- export RTE_SDK=/path/to/rte_sdk cd ${RTE_SDK}/examples/timer
+ export RTE_SDK=/path/to/rte_sdk
+ cd ${RTE_SDK}/examples/timer
#. Set the target (a default target is used if not specified). For example:
.. code-block:: console
- $ ./build/timer -c f -n 4
+ $ ./build/timer -l 0-3 -n 4
Refer to the *DPDK Getting Started Guide* for general information on running applications and
the Environment Abstraction Layer (EAL) options.
/*
* Call the timer handler on each core: as we don't
* need a very precise timer, so only call
- * rte_timer_manage() every ~10ms (at 2 Ghz). In a real
+ * rte_timer_manage() every ~10ms (at 2 GHz). In a real
* application, this will enhance performances as
* reading the HPET timer is not efficient.
*/