]> 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 73363f6e0ab3d35d7d9850c2196bea90bbc0f7ad..f8e88692db80d341b03e7447874f48eb67c08515 100644 (file)
@@ -300,4 +300,32 @@ int rte_eal_dev_init(void);
  */
 int rte_eal_check_module(const char *module_name);
 
+/**
+ * Get cpu core_id.
+ *
+ * This function is private to the EAL.
+ */
+unsigned eal_cpu_core_id(unsigned lcore_id);
+
+/**
+ * Check if cpu is present.
+ *
+ * This function is private to the EAL.
+ */
+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_ */