123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- /* StarPU --- Runtime system for heterogeneous multicore architectures.
- *
- * Copyright (C) 2010-2015,2017 CNRS
- * Copyright (C) 2009-2011,2014,2016 Université de Bordeaux
- * Copyright (C) 2011,2012 Inria
- *
- * StarPU is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or (at
- * your option) any later version.
- *
- * StarPU is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * See the GNU Lesser General Public License in COPYING.LGPL for more details.
- */
- /*! \defgroup API_FxT_Support FxT Support
- \struct starpu_fxt_codelet_event
- todo
- \ingroup API_FxT_Support
- \var char starpu_fxt_codelet_event::symbol[256]
- name of the codelet
- \var int starpu_fxt_codelet_event::workerid
- todo
- \var char starpu_fxt_codelet_event::perfmodel_archname[256]
- todo
- \var uint32_t starpu_fxt_codelet_event::hash
- todo
- \var size_t starpu_fxt_codelet_event::size
- todo
- \var float starpu_fxt_codelet_event::time
- todo
- \struct starpu_fxt_options
- todo
- \ingroup API_FxT_Support
- \var unsigned starpu_fxt_options::per_task_colour
- todo
- \var unsigned starpu_fxt_options::no_counter
- todo
- \var starpu_unsigned fxt_options::no_bus
- todo
- \var unsigned starpu_fxt_options::ninputfiles
- todo
- \var char *starpu_fxt_options::filenames[STARPU_FXT_MAX_FILES]
- todo
- \var char *starpu_fxt_options::out_paje_path
- todo
- \var char *starpu_fxt_options::distrib_time_path
- todo
- \var char *starpu_fxt_options::activity_path
- todo
- \var char *starpu_fxt_options::dag_path
- todo
- \var char *starpu_fxt_options::file_prefix
- In case we are going to gather multiple traces (e.g in the case of
- MPI processes), we may need to prefix the name of the containers.
- \var uint64_t starpu_fxt_options::file_offset
- In case we are going to gather multiple traces (e.g in the case of
- MPI processes), we may need to prefix the name of the containers.
- \var int starpu_fxt_options::file_rank
- In case we are going to gather multiple traces (e.g in the case of
- MPI processes), we may need to prefix the name of the containers.
- \var char starpu_fxt_options::worker_names[STARPU_NMAXWORKERS][256]
- Output parameters
- \var struct starpu_perfmodel_arch starpu_fxt_options::worker_archtypes[STARPU_NMAXWORKERS]
- Output parameters
- \var int starpu_fxt_options::nworkers
- Output parameters
- \var struct starpu_fxt_codelet_event **starpu_fxt_options::dumped_codelets
- In case we want to dump the list of codelets to an external tool
- \var long starpu_fxt_options::dumped_codelets_count
- In case we want to dump the list of codelets to an external tool
- \fn void starpu_fxt_options_init(struct starpu_fxt_options *options)
- \ingroup API_FxT_Support
- todo
- \fn void starpu_fxt_generate_trace(struct starpu_fxt_options *options)
- \ingroup API_FxT_Support
- todo
- \fn void starpu_fxt_start_profiling(void)
- \ingroup API_FxT_Support
- Start recording the trace. The trace is by default started from
- starpu_init() call, but can be paused by using
- starpu_fxt_stop_profiling(), in which case
- starpu_fxt_start_profiling() should be called to resume recording
- events.
- \fn void starpu_fxt_stop_profiling(void)
- \ingroup API_FxT_Support
- Stop recording the trace. The trace is by default stopped when calling
- starpu_shutdown(). starpu_fxt_stop_profiling() can however be used to
- stop it earlier. starpu_fxt_start_profiling() can then be called to
- start recording it again, etc.
- \fn void starpu_fxt_autostart_profiling(int autostart)
- \ingroup API_FxT_Support
- Determine whether profiling should be started by starpu_init(), or only when
- starpu_fxt_start_profiling() is called. \p autostart should be 1 to do so, or 0 to
- prevent it.
- \fn void starpu_fxt_write_data_trace(char *filename_in)
- \ingroup API_FxT_Support
- todo
- \fn void starpu_fxt_trace_user_event(unsigned long code)
- \ingroup API_FxT_Support
- Add an event in the execution trace if FxT is enabled.
- \fn void starpu_fxt_trace_user_event_string(const char *s)
- \ingroup API_FxT_Support
- Add a string event in the execution trace if FxT is enabled.
- */
|