Predictable mapping of streaming applications on multiprocessors