Add Benchmark Sequential
This commit is contained in:
parent
499808390c
commit
1fe282e70b
|
@ -200,9 +200,10 @@ void *run_benchmark_sequential(void *args) {
|
||||||
|
|
||||||
pthread_t main_thread;
|
pthread_t main_thread;
|
||||||
static int embenchmark_parallel() {
|
static int embenchmark_parallel() {
|
||||||
case_attr.schedparam.sched_priority = 30;
|
// case_attr.schedparam.sched_priority = 30;
|
||||||
case_attr.stacksize = 4096;
|
// case_attr.stacksize = 4096;
|
||||||
PrivTaskCreate(&main_thread, &case_attr, run_benchmark_parallel, NULL);
|
// PrivTaskCreate(&main_thread, &case_attr, run_benchmark_parallel, NULL);
|
||||||
|
run_benchmark_parallel(NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
static int embenchmark_sequential(void) {
|
static int embenchmark_sequential(void) {
|
||||||
|
|
Loading…
Reference in New Issue