mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tsc: fix typo
This commit is contained in:
parent
505162aaf2
commit
890c761f22
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue