[PATCH openEuler-1.0-LTS 032/103] share_pool: Do cleanups for statistical functions