diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-21 17:30:31 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-21 17:30:31 -0400 |
commit | e84fce96e96d8b5ee5e9531400b0735fb7e4fbb6 (patch) | |
tree | 8c43a66c15492d51d8cb4579fce29eb536cc8390 /src | |
parent | 2e76f83c8ab6ce634d3a91724bfde81df88c15aa (diff) |
Diffstat (limited to 'src')
-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) |