summaryrefslogtreecommitdiffstats
path: root/libdimension/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/platform.h')
-rw-r--r--libdimension/platform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdimension/platform.h b/libdimension/platform.h
index fbf467b..83b5c37 100644
--- a/libdimension/platform.h
+++ b/libdimension/platform.h
@@ -55,4 +55,11 @@ bool dmnsn_is_little_endian(void);
*/
size_t dmnsn_ncpus(void);
+/**
+ * Calculate process times.
+ * @param[out] timer The timer in which to store the current total process
+ * times.
+ */
+void dmnsn_get_times(dmnsn_timer *timer);
+
#endif /* DIMENSION_IMPL_PLATFORM_H */