aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft2csv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft2csv.c')
-rw-r--r--src/ft2csv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft2csv.c b/src/ft2csv.c
index ea497a3..cc6636f 100644
--- a/src/ft2csv.c
+++ b/src/ft2csv.c
@@ -37,7 +37,9 @@ static unsigned int skipped = 0;
37static unsigned int non_rt = 0; 37static unsigned int non_rt = 0;
38static unsigned int interleaved = 0; 38static unsigned int interleaved = 0;
39 39
40static unsigned long long threshold = 2700 * 1000; /* 1 ms == 1 full tick */ 40#define CYCLES_PER_US 2128
41
42static unsigned long long threshold = CYCLES_PER_US * 1000; /* 1 ms == 1 full tick */
41 43
42static struct timestamp* next(struct timestamp* start, struct timestamp* end, 44static struct timestamp* next(struct timestamp* start, struct timestamp* end,
43 int cpu) 45 int cpu)