code: def stop_current_node():
      """Mark current node as completed and move pointer up"""
      profiling = ctx.profiling
      if profiling["pointer"] is None:
          # profiling was activated not in the root of nodes tree
          return
      current_node = _get_current_node(profiling)
      current_node["stop_at"] = time.perf_counter()
      current_node["stop_at_thread"] = time.thread_time()
      current_node["stop_at_process"] = time.process_time()
      if len(profiling["pointer"]) > 0:
          profiling["pointer"] = profiling["pointer"][:-1]
      else:
          if ctx.profiling["enabled"] is True:
              _send_profiling_results()
          profiling["pointer"] = None
  
imports: import time
  from datetime import datetime, timezone
  from functools import wraps
  import mindsdb.utilities.hooks
  from mindsdb.utilities.config import Config
  from mindsdb.utilities.context import context
label_desc: Use image node_id 3 for calling a global function with example usage: stop_current_node() without return types