The sync_sampling project includes P4 code for deploying synchronized sampling on different P4-programmed switches. We aim at deploying several sampling points for a flow considering the limited CPU capacity available for sampling on each switch. This algorithm ensures that no duplicated samples will happen in different sampling points.