public Map<String, Double> toNormalizedMap() {
        Map<String, Double> ret = this.normalizedResources.toNormalizedMap();
        ret.put(Constants.COMMON_OFFHEAP_MEMORY_RESOURCE_NAME, offHeap);
        ret.put(Constants.COMMON_ONHEAP_MEMORY_RESOURCE_NAME, onHeap);
        return ret;
    }
@Test
    public void testAckerCPUSetting() {
        Map<String, Object> topoConf = new HashMap<>();
        topoConf.put(Config.TOPOLOGY_ACKER_CPU_PCORE_PERCENT, 40);
        topoConf.put(Config.TOPOLOGY_COMPONENT_CPU_PCORE_PERCENT, 50);
        NormalizedResourceRequest request = new NormalizedResourceRequest(topoConf, Acker.ACKER_COMPONENT_ID);
        Map<String, Double> normalizedMap = request.toNormalizedMap();
        Double cpu = normalizedMap.get(Constants.COMMON_CPU_RESOURCE_NAME);
        assertNotNull(cpu);
        assertEquals(40, cpu, 0.001);
    }