static String formatMilliCpu(int milliCpu) {
        if (milliCpu % 1000 == 0) {
            return Long.toString(milliCpu / 1000L);
        } else {
            return Long.toString(milliCpu) + "m";
        }
    }
@Test
    public void testFormat() {
        assertThat(formatMilliCpu(1000), is("1"));
        assertThat(formatMilliCpu(500), is("500m"));
        assertThat(formatMilliCpu(1), is("1m"));
    }