summaryrefslogtreecommitdiffstats
path: root/src/tsc.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-03 23:35:31 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-03 23:35:31 -0500
commit79d0dd0f54d459467dfe88fba68d4b64a461c187 (patch)
tree83c98e136ef5f23c47e5f205fbdcaa8b6d3baf62 /src/tsc.c
parentc497ac253504a73fbbb35788ddd8faec1163248a (diff)
downloadlibsandglass-79d0dd0f54d459467dfe88fba68d4b64a461c187.tar.xz
Make the API not suck.
Seriously, not sure what I was thinking with the attributes type.
Diffstat (limited to 'src/tsc.c')
-rw-r--r--src/tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsc.c b/src/tsc.c
index 135cd2a..713008c 100644
--- a/src/tsc.c
+++ b/src/tsc.c
@@ -25,7 +25,7 @@
/* Gets the number of clock ticks per second */
double
-sandglass_tsc_resolution()
+sandglass_tsc_freq()
{
static long tsc = 0;
static struct timespec ts = { .tv_sec = 0, .tv_nsec = 10000000L };