diff options
author | Patrick Lu <patrick.lu@intel.com> | 2018-01-17 13:00:32 -0700 |
---|---|---|
committer | Patrick Lu <patrick.lu@intel.com> | 2018-01-17 13:02:02 -0700 |
commit | 884a6b07b4400f68aad8d241b0d16c1f54f198c7 (patch) | |
tree | f3ca6454a14dc82ca351a55ea4883d5db3b3eef4 /jitter | |
parent | 96b5aa8d389f75cc9ecf17ddc69081dadf436042 (diff) |
jitter: made a small changes to fix absolute display
Change-Id: I828496d4fdbd159fe75c45bcb1b7495a9027a45a
Signed-off-by: Shrikant M. Shah <shrikant.m.shah@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Diffstat (limited to 'jitter')
-rw-r--r-- | jitter/jitter.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jitter/jitter.c b/jitter/jitter.c index 07cd066..2116bda 100644 --- a/jitter/jitter.c +++ b/jitter/jitter.c @@ -266,6 +266,7 @@ int main(int argc, char* argv[]) { tref=1; if(SampleNo > 0) + { printf("%10lu %10lu %10lu %10lu %10lu %10lu %13u %10lu %10u\n", TransientMin, TransientMax, @@ -274,6 +275,12 @@ int main(int argc, char* argv[]) absoluteMax,tmp, (endTime-lasttime), SampleNo); + } + else + { + absoluteMax = 0; + absoluteMin = MINVAL; + } SampleNo++; lasttime = endTime; |