This paper investigates the dynamics of the net-baryon multiplicity fluctuations near the QCD critical point, within the inhomogeneous temperature and baryon chemical potential profiles of quark-gluon plasma from the hydrodynamics. The Langevin dynamics of conserved net-baryon density are solved numerically within the temperature and chemical potential profiles borrowing from hydrodynamic simulation. It is found that the local systems at different rapidities reach the critical point at different proper times, owing to the inhomogeneous temperature and chemical potential. As a result, the pronounced enhancement of the magnitude for the netbaryon multiplicity fluctuations with large rapidity acceptance at the freeze-out surface is observed, which is the consequence of the combined effect of critical slowing down and an inhomogeneous profile.