Changes between Version 4 and Version 5 of Commentary/Profiling


Ignore:
Timestamp:
Jan 11, 2007 11:32:48 AM (7 years ago)
Author:
kirsten
Comment:

markup

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Profiling

    v4 v5  
    1515Macros for bumping ticky counters are now defined in [[GhcFile(includes/Cmm.h)]]. Currently, code compiled with the {{{-fticky-ticky}}} flag fails to link because the macros rely on counter variables (things with names like {{{ENT_DYN_IND_ctr}}} being declared, but there are actually no declarations for them. I'll add those declarations to [[GhcFile(includes/RtsExternal.h)]] so I can get something working. Really, there should be something that automatically generates both the macros that are in [[GhcFile(includes/Cmm.h)]] and the declarations for the corresponding variables, so that they stay in sync. 
    1616 
    17 Actually, maybe it would make more sense to add a new file, RtsTicky.h or something, which contains only ticky counter declarations (the same declarations that still exist in [[GhcFile(includes/StgTicky.h)]], which isn't used anymore), and that include that from [[GhcFile(includes/RtsExternal.h)]]. 
     17Actually, maybe it would make more sense to add a new file, {{{RtsTicky.h}}} or something, which contains only ticky counter declarations (the same declarations that still exist in [[GhcFile(includes/StgTicky.h)]], which isn't used anymore), and that include that from [[GhcFile(includes/RtsExternal.h)]].