A method for determining metrology sampling rates for workpieces in a
process flow includes determining a current status of the process flow.
Future processing of the workpieces in the process flow is simulated
based on the current status of the process flow over a predetermined time
horizon to predict sampling rates for the workpieces. During the
simulating, sampling rules are implemented that consider capacity
constraints of a metrology resource in the process flow. Actual
workpieces in the process flow are sampled based on the predicted
metrology sampling rates.