void AppendValues(TreeIter parent, TimerCounter c) { Gdk.Pixbuf icon = c.GetIcon(); foreach (CounterValue val in c.GetValues().Where(val => val.HasTimerTraces)) { string msg = !string.IsNullOrEmpty(val.Message) ? val.Message : c.Name; store.AppendValues(parent, icon, msg, val.Value, (float)val.Duration.TotalMilliseconds, 0f, 0f, 0f, false, null, val, true, true, val.GetTimeColor(c)); } }