From 94584e8b20f67a342c625a674590e8bc1aad88cb Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 1 Dec 2010 00:29:34 -0500 Subject: Check for platform support for times(). --- libdimension/platform.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libdimension/platform.h') 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 */ -- cgit v1.2.3