added category enum flag to machine metrics and implemented some clr memory counters