Commit graph

66 commits

Author SHA1 Message Date
f277b9ea4c
Add stats 2024-04-25 00:39:13 +02:00
f190c2f034
each structure now have his own mutex, finally taking advantage of the work stealing 2024-04-24 23:00:25 +02:00
c0b12bfa50
reduce chunk size 2024-04-24 22:29:32 +02:00
f3bc4d5abb
type issues 2024-04-24 19:22:24 +02:00
3a7f8e7064
fix warnings 2024-04-24 18:31:02 +02:00
019edca380
typos 2024-04-24 17:21:38 +02:00
3bf142d72d
typo 2024-04-24 17:16:34 +02:00
5862d2e949
rename stack to lifo 2024-04-24 17:14:34 +02:00
0597e564fb
fix performance 2024-04-24 14:43:06 +02:00
6c4923fa1c
small fixes 2024-04-24 14:19:24 +02:00
7fabe51b4e
improve performance 2024-04-24 13:33:27 +02:00
42911b6d4a
fix mandelbrot 2024-04-24 02:06:02 +02:00
8f0aecb444
use of scheduler, generate 4k images 2024-04-24 01:42:11 +02:00
d927f95d6a
add multiple benchmark support, mandelbrot is still wip 2024-04-24 01:32:17 +02:00
b5df88f878
fix import 2024-04-24 00:13:13 +02:00
6f0cc916c6
typo 2024-04-23 13:09:35 +02:00
276d973527
Wignore 2024-04-23 12:48:35 +02:00
ce6cfc7434
format and fix some minor issues 2024-04-23 12:47:35 +02:00
dc4f0c466b
oops 2024-04-23 12:29:54 +02:00
83295f16ca
fix errors 2024-04-23 12:21:10 +02:00
dab0c3a30e
add all schedulers implementation, with an handy way to compile them 2024-04-23 12:11:18 +02:00
0142cc7c14
doc 2024-04-23 11:12:30 +02:00
4be632e1c0
typo 2024-04-23 11:05:57 +02:00
f42777db6c
fix thread never found, reducing performance 2024-04-23 10:55:03 +02:00
b38d451e9a
fix valgrind issue 2024-04-22 02:35:14 +02:00
90dd5e4077
use k 2024-04-22 02:11:35 +02:00
222e9cb303
WORKING 2024-04-22 02:09:51 +02:00
7a4960412b
3s mdr 2024-04-21 20:15:02 +02:00
aa8589afa8
aaaaa 2024-04-21 19:52:08 +02:00
feedf24d06
jv peter mon crane 2024-04-21 19:51:50 +02:00
de2888683a
comment 2024-04-21 19:29:21 +02:00
1b6db69cd2
vu que chaque thread vole aux autres, il y a plus besoin d'attendre qui que ce soit, alors on retire les variables de conditions 2024-04-21 18:52:22 +02:00
37ff2cfb93
try to steal (not working..) 2024-04-21 18:04:41 +02:00
ffd3d52027
fmt 2024-04-21 17:37:54 +02:00
386ec75895
not working but still progress :) 2024-04-21 16:51:26 +02:00
6ea1c8d0dd
TODO! 2024-04-21 16:39:00 +02:00
98193d6500
store threads list into the sched struct 2024-04-21 16:36:35 +02:00
8a2af26283
TODOs 2024-04-21 15:38:06 +02:00
26b536958d
+ claire comme ça 2024-04-21 15:08:58 +02:00
01e1345069
aaaaaaaaaaaaaaa 2024-04-21 15:03:00 +02:00
2dbe9ac769
décidemment 2024-04-21 15:02:50 +02:00
a22a0301b8
2024-04-21 15:02:40 +02:00
3f4b792363
s 2024-04-21 15:02:31 +02:00
7d064ecf5f
allocate multiples stacks 2024-04-21 15:00:45 +02:00
bfeb0df269
top!finded the bug 2024-04-21 14:55:36 +02:00
4481d3d25d
mutex as allocation 2024-04-21 14:42:36 +02:00
f5e7a51861
nthsleep!!! 2024-04-21 14:36:54 +02:00
1ab599d606
allocate multiple condition variable but currently only use one, also cleanup helper function to keep track of allocations 2024-04-21 14:27:32 +02:00
9ebd5e0a2d
Revert "random task" as it's not efficient compared to simply taking the top task
This reverts commit 274c2d6160.
2024-04-20 21:15:46 +02:00
274c2d6160
random task 2024-04-20 20:20:54 +02:00