aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/odp/api/cpu.h')
-rw-r--r--include/odp/api/cpu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/odp/api/cpu.h b/include/odp/api/cpu.h
index ff63daa02..22b61e8bc 100644
--- a/include/odp/api/cpu.h
+++ b/include/odp/api/cpu.h
@@ -84,6 +84,17 @@ uint64_t odp_cpu_hz(void);
uint64_t odp_cpu_hz_max(void);
/**
+ * Maximum CPU frequency of a CPU (in Hz)
+ *
+ * Returns maximum frequency of specified CPU
+ *
+ * @param id CPU ID
+ *
+ * @return CPU frequency in Hz
+ */
+uint64_t odp_cpu_hz_max_id(int id);
+
+/**
* Current CPU cycle count
*
* Return current CPU cycle count. Cycle count may not be reset at ODP init