fxt_support.doxy 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * This file is part of the StarPU Handbook.
  3. * Copyright (C) 2009--2011 Universit@'e de Bordeaux
  4. * Copyright (C) 2010, 2011, 2012, 2013, 2014 CNRS
  5. * Copyright (C) 2011, 2012 INRIA
  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 char starpu_fxt_codelet_event::symbol[256]
  13. name of the codelet
  14. \var int starpu_fxt_codelet_event::workerid
  15. \var char starpu_fxt_codelet_event::perfmodel_archname[256]
  16. \var uint32_t starpu_fxt_codelet_event::hash
  17. \var size_t starpu_fxt_codelet_event::size
  18. \var float starpu_fxt_codelet_event::time
  19. \struct starpu_fxt_options
  20. todo
  21. \ingroup API_FxT_Support
  22. \var unsigned starpu_fxt_options::per_task_colour
  23. \var unsigned starpu_fxt_options::no_counter
  24. \var starpu_unsigned fxt_options::no_bus
  25. \var unsigned starpu_fxt_options::ninputfiles
  26. \var char *starpu_fxt_options::filenames[STARPU_FXT_MAX_FILES]
  27. \var char *starpu_fxt_options::out_paje_path
  28. \var char *starpu_fxt_options::distrib_time_path
  29. \var char *starpu_fxt_options::activity_path
  30. \var char *starpu_fxt_options::dag_path
  31. \var char *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 uint64_t 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 int 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 char starpu_fxt_options::worker_names[STARPU_NMAXWORKERS][256]
  41. Output parameters
  42. \var struct starpu_perfmodel_arch starpu_fxt_options::worker_archtypes[STARPU_NMAXWORKERS]
  43. Output parameters
  44. \var int starpu_fxt_options::nworkers
  45. Output parameters
  46. \var struct starpu_fxt_codelet_event **starpu_fxt_options::dumped_codelets
  47. In case we want to dump the list of codelets to an external tool
  48. \var long 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. \fn void starpu_fxt_write_data_trace(char *filename_in)
  70. \ingroup API_FxT_Support
  71. todo
  72. \fn void starpu_fxt_trace_user_event(unsigned long code)
  73. \ingroup API_FxT_Support
  74. Add an event in the execution trace if FxT is enabled.
  75. */