diff --git a/fah/ClientConfig.py b/fah/ClientConfig.py index 3fa4ac2d..b1ba9738 100644 --- a/fah/ClientConfig.py +++ b/fah/ClientConfig.py @@ -162,6 +162,7 @@ def update_queue_ui(self, app): for values in sorted(self.queue, lambda x, y: cmp(x['id'], y['id'])): unit_id = values['unit'] queue_id = values['id'] + core = values['core'][2:] status = values['state'].title() color = status_to_color(status) status = get_span_markup(status, color) @@ -174,7 +175,7 @@ def update_queue_ui(self, app): prcg = self.get_prcg(values) iter = app.queue_list.append([unit_id, queue_id, status, color, - progress, percent, eta, credit, prcg]) + progress, percent, eta, credit, prcg, core]) if queue_id == selected: selected_row = iter if queue_id == log_filter_selected: log_filter_row = iter @@ -187,6 +188,7 @@ def update_queue_ui(self, app): # Restore selections app.queue_tree.get_selection().select_iter(selected_row) app.log_unit.set_active_iter(log_filter_row) + app.log_core.set_active_iter(log_filter_row) def update_work_unit_info(self, app): @@ -484,6 +486,11 @@ def log_filter_str(self, app): id = get_active_combo_column(app.log_slot, 0) f.append(r'FS%s' % id) + # Core + if app.log_core_enable.get_active(): + id = get_active_combo_column(app.log_core, 9) + f.append(r'0x%s' % id) + if len(f): f = map(lambda x: '.*(^|:)%s' % x, f) return '(^\*)|(%s):' % ''.join(f) diff --git a/fah/FAHControl.glade b/fah/FAHControl.glade index 4d2a9c00..0eb31f6e 100644 --- a/fah/FAHControl.glade +++ b/fah/FAHControl.glade @@ -4776,6 +4776,8 @@ Some of these options may require manually restarting the client to take effect. + + @@ -7629,6 +7631,55 @@ Folding slots can be one of three types, Uniprocessor, SMP or GPU. Representing 1 + + + True + False + 5 + + + Core: + False + True + False + False + True + + + + False + True + 0 + + + + + True + False + queue_list + 0 + on + + + + + 9 + + + + + False + True + 1 + + + + + False + True + 2 + + Warnings & Errors @@ -7642,7 +7693,7 @@ Folding slots can be one of three types, Uniprocessor, SMP or GPU. Representing False True - 2 + 3 diff --git a/fah/FAHControl.py b/fah/FAHControl.py index 437562b5..4b83bbe1 100644 --- a/fah/FAHControl.py +++ b/fah/FAHControl.py @@ -390,6 +390,8 @@ def __init__(self, glade = 'FAHControl.glade'): self.log_slot = builder.get_object('log_slot') self.log_unit_enable = builder.get_object('log_unit_enable') self.log_unit = builder.get_object('log_unit') + self.log_core_enable = builder.get_object('log_core_enable') + self.log_core = builder.get_object('log_core') self.log_follow = builder.get_object('log_follow') # Widget maps