/* Switch metrics operation persistently, (until next SWITCH) */
#define SWITCH_METRICS_OP(op) \
/* Switch metrics operation persistently, (until next SWITCH) */
#define SWITCH_METRICS_OP(op) \
- metrics_counter_stop (); \
- metrics_set_current_op (op); \
- metrics_counter_start ();
+ context_counter_stop (); \
+ context_set_current_op (op); \
+ context_counter_start ();
/* Switch metrics operation temporarily, see RESTORE_METRICS_OP */
#define SAVE_THEN_SWITCH_METRICS_OP(op) \
/* Switch metrics operation temporarily, see RESTORE_METRICS_OP */
#define SAVE_THEN_SWITCH_METRICS_OP(op) \