1. A computer-implemented method of analyzing a workflow, comprising: generating a multi-stage workflow corresponding to a physical process, the workflow defining for each stage at least one activity performed during the process; associating at least one activity-based cost with each activity performed during the process; and estimating a distribution of costs over the stages of the workflow based on cost data generated by repeated execution of the process.