Commit Graph

302 Commits

Author SHA1 Message Date
1c6ecdc6ea Add scheduler submit events 2022-09-12 16:16:10 +02:00
89fbdaf5ea Begin event definitions for nanos6 2022-09-12 16:16:10 +02:00
d511cf2913 Remove unneeded test_speed.c file 2022-09-12 15:57:07 +02:00
3b90326b12 Add rt tests to CI 2022-09-12 15:57:07 +02:00
c3c7aa730e Add support for runtime tests 2022-09-12 15:57:07 +02:00
158f2b6ea6 Add missing headers for log functions 2022-09-12 15:57:07 +02:00
9e6a965276 Report successful emulation 2022-09-12 15:57:07 +02:00
70023f8b3a Add missing copyright notice in trace.c 2022-07-28 16:33:45 +02:00
00872418a1 Add stream header documentation 2022-07-28 16:16:07 +02:00
c83c8d2e56 Update copyright 2022-07-27 18:24:13 +02:00
861a4b7f73 Add model version in metadata 2022-07-27 18:22:13 +02:00
610516840e Add binary stream header with version 2022-07-26 19:04:08 +02:00
9820315ccb Add trace specification 2022-07-20 12:26:21 +02:00
6180235b50 Add metadata version support 2022-07-18 16:47:53 +02:00
6fd2b51621 Fix the nixos image to nix v2.9.2 2022-07-18 16:40:52 +02:00
6538dbcdd9 Only run flush-overhead test on Release build 2022-06-21 15:26:51 +02:00
1523553577 Enable verbose tests on the debian build too 2022-06-21 15:09:55 +02:00
7471a70c60 Print flush times when the test fails 2022-06-21 15:03:13 +02:00
b18039a4bf Fix verbose output on failed tests 2022-06-21 15:02:37 +02:00
8c5ff38734 Document deterministic colors of nOS-V task types 2022-06-21 12:15:38 +02:00
553cb45700 Clarify nOS-V running task logic 2022-06-17 17:06:08 +02:00
eb060cffb9 Remove trailing whitespace 2022-06-17 16:30:20 +02:00
430333409c Fix nOS-V task pause and add regression test 2022-06-03 11:36:27 +02:00
55c93ff13c Update Paraver config for type labels 2022-06-02 16:03:11 +02:00
8b3a6409e0 Add a test for nOS-V type labels 2022-06-02 15:55:08 +02:00
a62ba4eef5 Always create task types in the tests 2022-06-02 15:54:46 +02:00
880bdb48d4 Simplify test properties 2022-06-02 15:45:25 +02:00
c40348e2a8 Keep the thread set after the task ends
Allows the emulator to check when an inner task ends the next in the
stack has the same thread as before.
2022-06-02 15:43:42 +02:00
b0e25f29c7 Add an stronger restriction for task switching
In nOS-V, we can only switch from a running task to another if they are
from the same thread.
2022-06-02 15:32:40 +02:00
2ac9a76b3b The task and type ids cannot be negative 2022-06-02 15:31:35 +02:00
b0f693360c Use a hash of the type label to derive the gid
This avoids different processes running tasks with the same type label
to have different colors.
2022-06-02 15:28:04 +02:00
fa9196fd63 Add support for nOS-V task types
Use a unique identifier for each type, so we don't mix types with the
same id per-process.
2022-06-01 17:17:13 +02:00
ca6c85b2fb Use chan index in the PRV table initialization 2022-06-01 17:17:13 +02:00
c22457d7d3 Add dynamic PCF types and values 2022-06-01 17:17:13 +02:00
d460290415 Add another test to prevent double nesting 2022-06-01 17:01:51 +02:00
24134aa04f Add test for nOS-V nested tasks 2022-06-01 16:41:28 +02:00
2cb9371e3c Add a CMake macro to define tests 2022-06-01 16:39:52 +02:00
69af0f721f Split source and build test directories 2022-06-01 16:39:52 +02:00
1de6c53247 Remove cur_task from the emulator 2022-06-01 16:39:52 +02:00
70891355ec Use only a stack of tasks for nosv
The running task is inferred from the task on top of the stack. Also,
allow a nested task to execute when there are others in the stack.
2022-06-01 16:39:52 +02:00
26a29d3eda Emit the rank too when the task ends 2022-06-01 16:39:52 +02:00
c097d769b1 Transform asserts and follow coding style 2022-06-01 16:39:42 +02:00
David Alvarez
a8b1256375 Support for nested tasks 2022-04-25 12:20:33 +02:00
ce9a68fc7e Simplify nix-build and enable verbose tests 2022-01-13 13:17:32 +01:00
afc4ed48b5 Fix the payload size to 1 MiB in flush test 2022-01-13 13:06:34 +01:00
221e1a8d19 Ensure the flush overhead stays below 1 ms
Uses /dev/shm as temporary directory.
2022-01-13 10:58:10 +01:00
e95362f461 Fix time scale in flush config 2022-01-12 17:11:56 +01:00
544c67330c Allow a temporal directory to flush the buffers
The directory can be specified using the OVNI_TMPDIR environment
variable.
2022-01-12 16:57:52 +01:00
66036fe59e Add tracing documentation 2022-01-12 16:56:36 +01:00
1d3dc235dc Sync the stream with fdatasync() 2022-01-12 11:05:38 +01:00