You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.4 KiB

  1. /* ----------------------------------------------------------------------------
  2. * SchedMCore - A MultiCore Scheduling Framework
  3. * Copyright (C) 2009-2011, ONERA, Toulouse, FRANCE - LIFL, Lille, FRANCE
  4. *
  5. * This file is part of Prelude
  6. *
  7. * Prelude is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public License
  9. * as published by the Free Software Foundation ; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * Prelude is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY ; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this program ; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  20. * USA
  21. *---------------------------------------------------------------------------- */
  22. #ifndef _multirate_precedence_H
  23. #define _multirate_precedence_H
  24. #include <stdlib.h>
  25. // Description of a precedence between two tasks of different rates
  26. struct job_prec {
  27. int src_job;
  28. int dst_job;
  29. };
  30. struct multirate_precedence {
  31. char* src_name;
  32. char* dst_name;
  33. int prec_pref_size;
  34. int prec_pat_size;
  35. struct job_prec* prec_pref;
  36. struct job_prec* prec_pat;
  37. };
  38. #endif