3a28e1c3d3
Avoid fmemopen() due to bug in old glibc
2023-04-19 10:57:10 +00:00
676e30b4ca
Order looms and processes by rank if given
2023-04-14 08:35:21 +00:00
602daabe23
Fix copyright years
2023-04-06 15:33:15 +00:00
6711afdb58
Fix include headers following IWYU
2023-04-06 15:33:15 +00:00
30812e134e
Reduce test cases in sort_replace
2023-04-06 15:33:15 +00:00
467cc9aa7e
Fix value_str() usage
2023-04-06 15:33:15 +00:00
35872354e0
Speedup the sort module
...
Improvements:
- Don't propagate values if they didn't change
- Use custom sort algorithm to speedup the sorting
- Allocate a contiguous array of channel outputs
2023-04-06 15:33:15 +00:00
70b29b6459
Add sort channel module
...
Sorts the N input values and writes them in the N outputs in order.
2023-04-06 15:33:15 +00:00
ddbb7dd9f4
Add include-what-you-use
...
Adds forwards declarations in headers and includes all headers in
sources, even if they are found by transitive includes.
2023-03-24 12:08:45 +00:00
81875450a8
Add unit tests for PRV_SKIPDUP and PRV_EMITDUP
2023-03-24 12:08:45 +00:00
c0afc79d4e
Use OK() and ERR() in unit tests
...
Also remove prefixes and trailing new lines in err() and die()
2023-03-24 12:08:45 +00:00
9a4a4a0005
Remove bay_remove()
2023-03-24 12:08:45 +00:00
b42fb4d2f3
Check prv_* return values
2023-03-24 12:08:45 +00:00
6deef0308a
Fix underflow in path_remove_trailing()
2023-03-24 12:08:45 +00:00
e625897766
Add CHAN_IGNORE_DUP to ignore duplicates
2023-03-24 12:08:45 +00:00
ab3e823134
Rename CHAN_DUPLICATES to CHAN_ALLOW_DUP
2023-03-24 12:08:45 +00:00
f61711047c
Remove buffer argument from value_str()
...
Use a ring of buffers instead, so we can printf() up to 16 values in
the same call.
2023-03-24 12:08:45 +00:00
82f1cc287d
Update copyright years to 2021-2023
2023-03-24 12:08:45 +00:00
4c7b44510a
Remove empty tests
2023-03-24 12:08:45 +00:00
a4452dee8c
Use OK() and ERR() macros in cpu and loom tests
...
Some return checks were missing too.
2023-03-24 12:08:45 +00:00
0eb88af4b9
Use the CPU phyid for the name only
...
The logical index is used to change the affinity of the threads.
2023-03-24 12:08:45 +00:00
65ecc75afd
Sort unit tests by name
2023-03-24 12:08:45 +00:00
98b698473d
Remove unused unit tests
2023-03-24 12:08:45 +00:00
b98ccfe3ad
Use row and type as identifiers in prv_register()
...
Prevents multiple channels from being accidentally set to the same row
with the same type.
2023-03-24 12:08:45 +00:00
1c90947f82
Remove unused select function from mux unit test
2023-03-24 12:08:45 +00:00
5b980734ed
Add unit test cases for thread init
2023-03-24 12:08:45 +00:00
7bbd74cb17
Add common unit test macros
2023-03-24 12:08:45 +00:00
e06651bbb6
Disable hash speed test
...
We no longer use the hash for the mux inputs, so during emulation is not
a performance bottleneck.
2023-03-24 12:08:45 +00:00
7ba810fd4a
Set the thread->proc in proc_add_thread()
2023-03-24 12:08:45 +00:00
3a4722a83e
Add delayed connect unit test for mux
2023-03-24 12:08:45 +00:00
4a1fba74f3
Update bay unit test
2023-03-24 12:08:45 +00:00
fe6db823a7
Index mux inputs by an integer
2023-03-24 12:08:45 +00:00
3da9e27190
Skip "loom." prefix from hostname
2023-03-24 12:08:45 +00:00
f76d160c69
Copy Paraver configs to output directory
2023-03-24 12:08:45 +00:00
8727126551
Use .obs extension for ovni binary streams
2023-03-24 12:08:45 +00:00
0746d2a0ec
Add CPU oversubscription test
2023-03-24 12:08:45 +00:00
a818795d88
Add support for nOS-V
...
Most of the model is taken from nanos6, we should refactor them.
2023-03-24 12:08:45 +00:00
c13e004c6f
Disable sort and trace-dependent tests
2023-03-24 12:08:45 +00:00
f1b130eb39
Move paraver sources to pv/
2023-03-24 12:08:45 +00:00
8ed9063488
Remove emu prefix from trace and stream
2023-03-24 12:08:45 +00:00
0e8b23c918
Update prv_register in tests
2023-03-24 12:08:45 +00:00
524ccc4dd5
Begin porting nanos6 model
2023-03-24 12:08:45 +00:00
04029995be
Begin porting the ovni model
2023-03-24 12:08:45 +00:00
12bfd3fe26
Add loom and proc
2023-03-24 12:08:45 +00:00
5de74f15cb
Add emulator player to read events
2023-03-24 12:08:45 +00:00
5bd04d8435
Add emu_stream unit test
2023-03-24 12:08:45 +00:00
fe5f16bb7a
Add clock offset parser
2023-03-24 12:08:45 +00:00
b3e6c21b7c
Add unit tests for emu and emu_trace
2023-03-24 12:08:45 +00:00
183634c8c4
Pass the bay in the prv_register() function
2023-03-24 12:08:45 +00:00
b3b1164fed
Add PRV trace support for patchbay channels
2023-03-24 12:08:45 +00:00