Browse Source

document fields

Samuel Thibault 14 years ago
parent
commit
35eb437fc9

+ 4 - 4
src/sched_policies/deque_queues.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
- * Copyright (C) 2010  Université de Bordeaux 1
+ * Copyright (C) 2010-2011  Université de Bordeaux 1
  *
  *
  * StarPU is free software; you can redistribute it and/or modify
  * 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
  * it under the terms of the GNU Lesser General Public License as published by
@@ -34,9 +34,9 @@ struct starpu_deque_jobq_s {
 	unsigned nprocessed;
 	unsigned nprocessed;
 
 
 	/* only meaningful if the queue is only used by a single worker */
 	/* only meaningful if the queue is only used by a single worker */
-	double exp_start;
-	double exp_end;
-	double exp_len;
+	double exp_start; /* Expected start date of first task in the queue */
+	double exp_end; /* Expected end date of last task in the queue */
+	double exp_len; /* Expected duration of the set of tasks in the queue */
 };
 };
 
 
 struct starpu_deque_jobq_s *_starpu_create_deque(void);
 struct starpu_deque_jobq_s *_starpu_create_deque(void);

+ 4 - 4
src/sched_policies/fifo_queues.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
- * Copyright (C) 2010  Université de Bordeaux 1
+ * Copyright (C) 2010-2011  Université de Bordeaux 1
  *
  *
  * StarPU is free software; you can redistribute it and/or modify
  * 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
  * it under the terms of the GNU Lesser General Public License as published by
@@ -33,9 +33,9 @@ struct starpu_fifo_taskq_s {
 	unsigned nprocessed;
 	unsigned nprocessed;
 
 
 	/* only meaningful if the queue is only used by a single worker */
 	/* only meaningful if the queue is only used by a single worker */
-	double exp_start;
-	double exp_end;
-	double exp_len;
+	double exp_start; /* Expected start date of first task in the queue */
+	double exp_end; /* Expected end date of last task in the queue */
+	double exp_len; /* Expected duration of the set of tasks in the queue */
 };
 };
 
 
 struct starpu_fifo_taskq_s*_starpu_create_fifo(void);
 struct starpu_fifo_taskq_s*_starpu_create_fifo(void);

+ 4 - 4
src/sched_policies/stack_queues.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
- * Copyright (C) 2010  Université de Bordeaux 1
+ * Copyright (C) 2010-2011  Université de Bordeaux 1
  *
  *
  * StarPU is free software; you can redistribute it and/or modify
  * 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
  * it under the terms of the GNU Lesser General Public License as published by
@@ -34,9 +34,9 @@ struct starpu_stack_jobq_s {
 	unsigned nprocessed;
 	unsigned nprocessed;
 
 
 	/* only meaningful if the queue is only used by a single worker */
 	/* only meaningful if the queue is only used by a single worker */
-	double exp_start;
-	double exp_end;
-	double exp_len;
+	double exp_start; /* Expected start date of first task in the queue */
+	double exp_end; /* Expected end date of last task in the queue */
+	double exp_len; /* Expected duration of the set of tasks in the queue */
 };
 };
 
 
 struct starpu_stack_jobq_s *_starpu_create_stack(void);
 struct starpu_stack_jobq_s *_starpu_create_stack(void);