class_docstr: Profiling Counter class.
  
  The counter event can track a value as it changes over time.
  
  Parameters
  ----------
  domain : Domain object
      Domain to which this object belongs
  name : string
      Name of the counter
  value: integer, optional
      Initial value of the counter
docstr: Set counter value.
  
  Parameters
  ----------
  value : int
      Value for the counter
docstr_tok: ["Set","counter","value",".","Parameters","--","--","--","--","--","value",":","int","Value","for","the","counter"]
code: def set_value(self, value):
      """Set counter value.
  
      Parameters
      ----------
      value : int
          Value for the counter
      """
      check_call(_LIB.MXProfileSetCounter(self.handle, int(value)))
  
imports: import ctypes
  import contextlib
  import contextvars
  import warnings
  from .base import _LIB, check_call, c_str, ProfileHandle, c_str_array, py_str, KVStoreHandle
label_desc: Use image node_id 3 for calling the Counter obj's underlying member method code with example usage: obj.set_value(value) without return types