System and method for analyzing processes