From 6173165398aebc9f9d2f913e74fe05b6ae10d57b Mon Sep 17 00:00:00 2001 From: yangxx Date: Thu, 28 Aug 2003 13:46:23 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@211 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/convert/convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/ltt/convert/convert.c b/ltt/branches/poly/ltt/convert/convert.c index e319b420..fd7e8d09 100644 --- a/ltt/branches/poly/ltt/convert/convert.c +++ b/ltt/branches/poly/ltt/convert/convert.c @@ -484,13 +484,13 @@ int main(int argc, char ** argv){ write_to_buffer(write_pos_intr,(void*)&newId,sizeof(uint16_t)); write_to_buffer(write_pos_intr,(void*)&time_delta, sizeof(uint32_t)); end_intr = end; - end_intr.nanoseconds += 20; + end_intr.nanoseconds -= 40; write_to_buffer(write_pos_intr,(void*)&end_intr,sizeof(buffer_start)); write_to_buffer(write_pos_proc,(void*)&newId,sizeof(uint16_t)); write_to_buffer(write_pos_proc,(void*)&time_delta, sizeof(uint32_t)); end_proc = end; - end_proc.nanoseconds += 40; + end_proc.nanoseconds -= 20; write_to_buffer(write_pos_proc,(void*)&end_proc,sizeof(buffer_start)); write_pos_intr = buf_intr + block_size - sizeof(uint32_t); -- 2.34.1