From a6ef5ba8b81b55c078a72007cbd20fa7e6fe50ff Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 19 Oct 2018 14:25:23 +0200 Subject: [PATCH] tsc: fix typo --- common/include/villas/tsc.h | 2 +- common/lib/tsc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/include/villas/tsc.h b/common/include/villas/tsc.h index 407f57a17..33746003b 100644 --- a/common/include/villas/tsc.h +++ b/common/include/villas/tsc.h @@ -94,7 +94,7 @@ static inline uint64_t rdtsc() int tsc_init(struct tsc *t); -uint64_t tsc_rate_to_cyles(struct tsc *t, double rate); +uint64_t tsc_rate_to_cycles(struct tsc *t, double rate); uint64_t tsc_now(struct tsc *t); diff --git a/common/lib/tsc.c b/common/lib/tsc.c index 9244c1013..840d74b28 100644 --- a/common/lib/tsc.c +++ b/common/lib/tsc.c @@ -71,7 +71,7 @@ int tsc_init(struct tsc *t) return 0; } -uint64_t tsc_rate_to_cyles(struct tsc *t, double rate) +uint64_t tsc_rate_to_cycles(struct tsc *t, double rate) { return t->frequency / rate; }