From 79d0dd0f54d459467dfe88fba68d4b64a461c187 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 3 Mar 2010 23:35:31 -0500 Subject: Make the API not suck. Seriously, not sure what I was thinking with the attributes type. --- src/sandglass_impl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sandglass_impl.h') diff --git a/src/sandglass_impl.h b/src/sandglass_impl.h index 689c6bf..accb332 100644 --- a/src/sandglass_impl.h +++ b/src/sandglass_impl.h @@ -31,9 +31,9 @@ #ifdef SANDGLASS_TSC /* Read the time stamp counter */ long sandglass_get_tsc(); -/* Get the timing resolution of the TSC */ -double sandglass_tsc_resolution(); -/* Get the necessary number of loops for SANDGLASS_REALTICKS */ +/* Get the frequency of the TSC */ +double sandglass_tsc_freq(); +/* Get the necessary number of loops for sandglass_bench_fine() */ unsigned int sandglass_tsc_loops(); #endif @@ -43,4 +43,4 @@ void sandglass_timespec_sub(struct timespec *ts, const struct timespec *d); int sandglass_timespec_cmp(const struct timespec *a, const struct timespec *b); void sandglass_spin(const struct timespec *ts); -#endif /* SANDGLASS_IMPL_H_INCLUDED */ \ No newline at end of file +#endif /* SANDGLASS_IMPL_H_INCLUDED */ -- cgit v1.2.3