diff options
Diffstat (limited to 'src/ft2csv.c')
| -rw-r--r-- | src/ft2csv.c | 4 |
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; | |||
| 37 | static unsigned int non_rt = 0; | 37 | static unsigned int non_rt = 0; |
| 38 | static unsigned int interleaved = 0; | 38 | static unsigned int interleaved = 0; |
| 39 | 39 | ||
| 40 | static unsigned long long threshold = 2700 * 1000; /* 1 ms == 1 full tick */ | 40 | #define CYCLES_PER_US 2128 |
| 41 | |||
| 42 | static unsigned long long threshold = CYCLES_PER_US * 1000; /* 1 ms == 1 full tick */ | ||
| 41 | 43 | ||
| 42 | static struct timestamp* next(struct timestamp* start, struct timestamp* end, | 44 | static struct timestamp* next(struct timestamp* start, struct timestamp* end, |
| 43 | int cpu) | 45 | int cpu) |
