class_docstr: The profiler class is used to profile the execution of some code.
  
  Parameters
  ----------
  save_dir
      The directory to save the profile data to.
class_docstr_tok: ["The","profiler","class","is","used","to","profile","the","execution","of","some","code",".","Parameters","--","--","--","--","--","save_dir","The","directory","to","save","the","profile","data","to","."]
docstr: Stop the profiler.
  
  This should be called after the code to be profiled.
code: def stop(self):
      """Stop the profiler.
  
      This should be called after the code to be profiled.
      """
      raise ivy.utils.exceptions.IvyNotImplementedException
  
imports: import os
  import gc
  import abc
  import math
  import psutil
  import warnings
  import types
  from typing import Type, Optional, Tuple
  from typing import Union, Callable, Iterable, Any
  import ivy
  from ivy.func_wrapper import handle_out_argument, to_native_arrays_and_back, inputs_to_native_arrays, handle_nestable, handle_array_like_without_promotion, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 3 for calling the Profiler obj's underlying member method code with example usage: obj.stop() without return types