]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_private.h
eal: deduplicate timer functions
[dpdk.git] / lib / librte_eal / common / eal_private.h
index 8505b05b680b778441b6b72dfbe8bc6fc9b6a9f6..f8e88692db80d341b03e7447874f48eb67c08515 100644 (file)
@@ -314,4 +314,18 @@ unsigned eal_cpu_core_id(unsigned lcore_id);
  */
 int eal_cpu_detected(unsigned lcore_id);
 
+/**
+ * Set TSC frequency from precise value or estimation
+ *
+ * This function is private to the EAL.
+ */
+void set_tsc_freq(void);
+
+/**
+ * Get precise TSC frequency from system
+ *
+ * This function is private to the EAL.
+ */
+uint64_t get_tsc_freq(void);
+
 #endif /* _EAL_PRIVATE_H_ */