Skip to content
  • Jakob Stoklund Olesen's avatar
    Count processor resources individually in MachineTraceMetrics. · 3ca14772
    Jakob Stoklund Olesen authored
    The new instruction scheduling models provide information about the
    number of cycles consumed on each processor resource. This makes it
    possible to estimate ILP more accurately than simply counting
    instructions / issue width.
    
    The functions getResourceDepth() and getResourceLength() now identify
    the limiting processor resource, and return a cycle count based on that.
    
    This gives more precise resource information, particularly in traces
    that use one resource a lot more than others.
    
    llvm-svn: 178553
    3ca14772
Loading