[PATCH V2 idlestat 07/12] Split display function