lower_bound.doxy 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 Theoretical_lower_bound_on_execution_time Theoretical lower bound on execution time
  9. \fn void starpu_bound_start (int deps, int prio)
  10. \ingroup Theoretical_lower_bound_on_execution_time
  11. \brief Start recording tasks (resets stats). \p deps tells whether
  12. dependencies should be recorded too (this is quite expensive)
  13. \fn void starpu_bound_stop (void)
  14. \ingroup Theoretical_lower_bound_on_execution_time
  15. \brief Stop recording tasks
  16. \fn void starpu_bound_print_dot (FILE *output)
  17. \ingroup Theoretical_lower_bound_on_execution_time
  18. \brief Print the DAG that was recorded
  19. \fn void starpu_bound_compute (double *res, double *integer_res, int integer)
  20. \ingroup Theoretical_lower_bound_on_execution_time
  21. \brief Get theoretical upper bound (in ms) (needs glpk support
  22. detected by configure script). It returns 0 if some performance models
  23. are not calibrated.
  24. \fn void starpu_bound_print_lp (FILE *output)
  25. \ingroup Theoretical_lower_bound_on_execution_time
  26. \brief Emit the Linear Programming system on \p output for the recorded
  27. tasks, in the lp format
  28. \fn void starpu_bound_print_mps (FILE *output)
  29. \ingroup Theoretical_lower_bound_on_execution_time
  30. \brief Emit the Linear Programming system on \p output for the recorded
  31. tasks, in the mps format
  32. \fn void starpu_bound_print (FILE *output, int integer)
  33. \ingroup Theoretical_lower_bound_on_execution_time
  34. \brief Emit statistics of actual execution vs theoretical upper bound.
  35. \p integer permits to choose between integer solving (which takes a
  36. long time but is correct), and relaxed solving (which provides an
  37. approximate solution).
  38. */