summaryrefslogtreecommitdiff
path: root/config/cpu/generic/cycles.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-02-23 10:15:45 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-23 10:15:45 -0500
commitc758cdf4f6e959b92683f2dba6ce8617ac4f0a83 (patch)
tree36e2664048b4ba9d6925b33281afcab2a0aab53d /config/cpu/generic/cycles.h
parent25786b77b700abbcce664e7e39504a2b0dd1f0c8 (diff)
downloadjack1-c758cdf4f6e959b92683f2dba6ce8617ac4f0a83.tar.gz
uncrustification of jack source code
Diffstat (limited to 'config/cpu/generic/cycles.h')
-rw-r--r--config/cpu/generic/cycles.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/config/cpu/generic/cycles.h b/config/cpu/generic/cycles.h
index b05fb0e..12ccb8f 100644
--- a/config/cpu/generic/cycles.h
+++ b/config/cpu/generic/cycles.h
@@ -1,6 +1,6 @@
/*
Copyright (C) 2001 Paul Davis
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
+ */
#ifndef __jack_cycles_h__
#define __jack_cycles_h__
@@ -26,12 +26,13 @@
typedef long cycles_t;
-static inline cycles_t get_cycles(void)
+static inline cycles_t get_cycles (void)
{
- struct timespec time;
- clock_gettime(CLOCK_REALTIME, &time);
+ struct timespec time;
+
+ clock_gettime (CLOCK_REALTIME, &time);
- return ((cycles_t) time.tv_sec * 1000000) + time.tv_nsec*1000;
+ return ((cycles_t)time.tv_sec * 1000000) + time.tv_nsec * 1000;
}
#endif /* __jack_cycles_h__ */