def _add_billed_op_to_trace(trace, num_ops, op):
  if num_ops:
    billed_op = trace.add_billed_ops()
    billed_op.set_num_ops(num_ops)
    billed_op.set_op(op)
Adds a billed op to the given trace.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/recording.py/_add_billed_op_to_trace