eal: calibrate TSC only in primary process
[dpdk.git] / lib / librte_eal / common / eal_memcfg.h
index aea9a35..0e468bb 100644 (file)
@@ -69,6 +69,9 @@ struct rte_mem_config {
        uint32_t single_file_segments;
        /**< stored single file segments parameter. */
 
+       uint64_t tsc_hz;
+       /**< TSC rate */
+
        uint8_t dma_maskbits; /**< Keeps the more restricted dma mask. */
 };