lower_bound.doxy 2.0 KB

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