diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-03 23:35:31 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-03 23:35:31 -0500 |
commit | 79d0dd0f54d459467dfe88fba68d4b64a461c187 (patch) | |
tree | 83c98e136ef5f23c47e5f205fbdcaa8b6d3baf62 /src/sandglass_impl.h | |
parent | c497ac253504a73fbbb35788ddd8faec1163248a (diff) | |
download | libsandglass-79d0dd0f54d459467dfe88fba68d4b64a461c187.tar.xz |
Make the API not suck.
Seriously, not sure what I was thinking with the attributes type.
Diffstat (limited to 'src/sandglass_impl.h')
-rw-r--r-- | src/sandglass_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |