diff mbox series

[API-NEXT,v2,1/8] api: system: added system info print

Message ID 20170424104917.24102-2-petri.savolainen@linaro.org
State Superseded
Headers show
Series Use HW time counter | expand

Commit Message

Petri Savolainen April 24, 2017, 10:49 a.m. UTC
This information specifies the system where ODP application
is running for debugging purposes.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>

---
 include/odp/api/spec/system_info.h | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.11.0
diff mbox series

Patch

diff --git a/include/odp/api/spec/system_info.h b/include/odp/api/spec/system_info.h
index 0bb4f1f1..ca4dcdc7 100644
--- a/include/odp/api/spec/system_info.h
+++ b/include/odp/api/spec/system_info.h
@@ -45,6 +45,15 @@  uint64_t odp_sys_page_size(void);
 int odp_sys_cache_line_size(void);
 
 /**
+ * Print system info
+ *
+ * Print out implementation defined information about the system. This
+ * information is intended for debugging purposes and may contain e.g.
+ * information about CPUs, memory and other HW configuration.
+ */
+void odp_sys_info_print(void);
+
+/**
  * @}
  */