Difference: DTTAlgorithm (2 vs. 3)

Revision 32008-01-22 - TongxinBai

Line: 1 to 1
 
META TOPICPARENT name="GccVersion4_1_0"
Deleted:
<
<
 

Dependence Tracing Algorithm

-- TongxinBai - 21 Jan 2008
Line: 22 to 21
 
  • _bop_prof_rec_write,
  • _bop_prof_rec_read,
  • bop_instm_func_entry, and
Changed:
<
<
  • and bop_instm_func_exit
>
>
  • bop_instm_func_exit
  recording write
void _bop_prof_rec_write (unsigned long addr, int sketch_p, char *file_name, int line) {
   update_pseudo_time ();
Changed:
<
<
if (sketch_p) update_fronzen_time ();
>
>
if (sketch_p) update_frozen_time ();
  update_write (addr, file_name, line); }
Line: 39 to 38
  if (sketch_p) update_fronzen_time (); w = lookup_write (addr); if (w) return;
Changed:
<
<
/* not a function level dependence. ignore */
>
>
/* not a function level dependence. ignore. Here I use frozen time to facilitate recording function level dependences. Frozen time only increments in DETAIL mode */
  if (w->frozen_time == current_frozen_time) return;

output_dependence ();

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback