Mercurial > hg > Members > e085722 > Cerium
comparison example/many_task/spe/QuickSort.h @ 0:04e28d8d3c6f
first commit
author | Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Nov 2010 01:23:25 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:04e28d8d3c6f |
---|---|
1 #ifndef INCLUDED_TASK_QUICKSORT | |
2 #define INCLUDED_TASK_QUICKSORT | |
3 | |
4 #ifndef INCLUDED_SCHED_TASK | |
5 # include "SchedTask.h" | |
6 #endif | |
7 | |
8 #include "sort.h" | |
9 /* | |
10 class QuickSort : public SchedTask { | |
11 public: | |
12 SchedConstructor(QuickSort); | |
13 | |
14 int run(SchedTask *smanager, void *r, void *w); | |
15 void quick_sort(Data *data, int left, int right); | |
16 void bubble_sort(Data *data, int left, int right); | |
17 void swap(Data *data, int left, int right ); | |
18 }; | |
19 */ | |
20 | |
21 #endif |