git-svn-id: http://ltt.polymtl.ca/svn@218 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 3 Sep 2003 16:40:13 +0000 (16:40 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 3 Sep 2003 16:40:13 +0000 (16:40 +0000)
ltt/branches/poly/ltt/convert/convert.c

index fd7e8d092578cfd4ae6689c66e4c4e2a72adad78..60dc3a6031498a751fcb14726df56d5577a8a0cb 100644 (file)
@@ -378,13 +378,13 @@ int main(int argc, char ** argv){
     write_to_buffer(write_pos_intr,(void*)&startId, sizeof(uint16_t));    
     write_to_buffer(write_pos_intr,(void*)&startTimeDelta, sizeof(uint32_t));
     start_intr = start;
-    start_intr.nanoseconds -= 40;
+    start_intr.nanoseconds -= 20;
     write_to_buffer(write_pos_intr,(void*)&start_intr, sizeof(buffer_start));
 
     write_to_buffer(write_pos_proc,(void*)&startId, sizeof(uint16_t));    
     write_to_buffer(write_pos_proc,(void*)&startTimeDelta, sizeof(uint32_t));
     start_proc = start;
-    start_proc.nanoseconds -= 20;
+    start_proc.nanoseconds -= 40;
     write_to_buffer(write_pos_proc,(void*)&start_proc, sizeof(buffer_start));
 
     //parse *.proc file to get process and irq info
@@ -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 -= 40;
+         end_intr.nanoseconds -= 20;
          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 -= 20;
+         end_proc.nanoseconds -= 40;
          write_to_buffer(write_pos_proc,(void*)&end_proc,sizeof(buffer_start));   
 
          write_pos_intr = buf_intr + block_size - sizeof(uint32_t);
This page took 0.024223 seconds and 4 git commands to generate.