fxt_support.doxy 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. * This file is part of the StarPU Handbook.
  3. * Copyright (C) 2009--2011 Universit@'e de Bordeaux 1
  4. * Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
  5. * Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
  6. * See the file version.doxy for copying conditions.
  7. */
  8. /*! \defgroup API_FxT_Support FxT Support
  9. \struct starpu_fxt_codelet_event
  10. todo
  11. \ingroup API_FxT_Support
  12. \var starpu_fxt_codelet_event::symbol[256
  13. name of the codelet
  14. \var starpu_fxt_codelet_event::workerid
  15. \var starpu_fxt_codelet_event::archtype
  16. \var starpu_fxt_codelet_event::hash
  17. \var starpu_fxt_codelet_event::size
  18. \var starpu_fxt_codelet_event::time
  19. \struct starpu_fxt_options
  20. todo
  21. \ingroup API_FxT_Support
  22. \var starpu_fxt_options::per_task_colour
  23. \var starpu_fxt_options::no_counter
  24. \var starpu_fxt_options::no_bus
  25. \var starpu_fxt_options::ninputfiles
  26. \var starpu_fxt_options::filenames
  27. \var starpu_fxt_options::out_paje_path
  28. \var starpu_fxt_options::distrib_time_path
  29. \var starpu_fxt_options::activity_path
  30. \var starpu_fxt_options::dag_path
  31. \var starpu_fxt_options::file_prefix
  32. In case we are going to gather multiple traces (e.g in the case of MPI
  33. processes), we may need to prefix the name of the containers.
  34. \var starpu_fxt_options::file_offset
  35. In case we are going to gather multiple traces (e.g in the case of MPI
  36. processes), we may need to prefix the name of the containers.
  37. \var starpu_fxt_options::file_rank
  38. In case we are going to gather multiple traces (e.g in the case of MPI
  39. processes), we may need to prefix the name of the containers.
  40. \var starpu_fxt_options::worker_names
  41. Output parameters
  42. \var starpu_fxt_options::worker_archtypes
  43. Output parameters
  44. \var starpu_fxt_options::nworkers
  45. Output parameters
  46. \var starpu_fxt_options::dumped_codelets
  47. In case we want to dump the list of codelets to an external tool
  48. \var starpu_fxt_options::dumped_codelets_count
  49. In case we want to dump the list of codelets to an external tool
  50. \fn void starpu_fxt_options_init(struct starpu_fxt_options *options)
  51. \ingroup API_FxT_Support
  52. todo
  53. \fn void starpu_fxt_generate_trace(struct starpu_fxt_options *options)
  54. \ingroup API_FxT_Support
  55. todo
  56. \fn void starpu_fxt_start_profiling(void)
  57. \ingroup API_FxT_Support
  58. Start recording the trace. The trace is by default started from
  59. starpu_init() call, but can be paused by using
  60. starpu_fxt_stop_profiling(), in which case
  61. starpu_fxt_start_profiling() should be called to resume recording
  62. events.
  63. \fn void starpu_fxt_stop_profiling(void)
  64. \ingroup API_FxT_Support
  65. Stop recording the trace. The trace is by default stopped when calling
  66. starpu_shutdown(). starpu_fxt_stop_profiling() can however be used to
  67. stop it earlier. starpu_fxt_start_profiling() can then be called to
  68. start recording it again, etc.
  69. */