Commit Graph

666 Commits

Author SHA1 Message Date
29ea26e871 Emit flush events in order, after the user event
Fixes the backwards jump in time warnings each 2 MB of buffer, caused by
the flush events being written out of order.
2021-11-03 11:33:16 +01:00
e05f78bb0f Set the trace duration in the PRV header 2021-11-03 11:33:16 +01:00
5dc195a037 Remove nosv code in favor of the thread type 2021-11-03 11:33:14 +01:00
41211eec8a Use the values as-is for appid, taskid and typeid 2021-11-03 11:32:17 +01:00
fe3b408157 Add _emit sufffix in ovni_ev and ovni_ev_jumbo
The new names avoid problems in C++ as the struct ovni_ev collided with
the ovni_ev function.
2021-11-03 11:32:17 +01:00
3a30f25413 Add readme 2021-11-03 11:32:17 +01:00
d3e87c2272 Add GPLv3 and MIT licenses 2021-11-03 11:32:17 +01:00
f44be6598c Remove unused def.h file 2021-11-03 11:32:17 +01:00
be7375a69b Add support for sfree in nosv subsystems 2021-11-03 11:32:08 +01:00
87f3f7851b Fix CPU config window names 2021-10-21 17:04:58 +02:00
3c913dd26b Implement extended init for CPU channels 2021-10-21 16:53:01 +02:00
97248c70ea Document emulator channels 2021-10-21 16:53:01 +02:00
749c755b5d Remove debug messages from libovni 2021-10-21 16:53:01 +02:00
f864567ac4 Remove objects zoom in PRV config 2021-10-21 16:53:01 +02:00
7bd8f960f8 Implement flushing events in the emulator 2021-10-21 16:53:01 +02:00
2f565450ea Clean commented code in emu_ovni.c 2021-10-21 16:53:01 +02:00
a3e542830d Ensure the thread is active in openmp 2021-10-21 16:53:01 +02:00
9f87c2a7a0 Simplify openmp mode hooks 2021-10-21 16:53:01 +02:00
29b7662e41 Collapse nOS-V API switch 2021-10-21 16:53:01 +02:00
98db4a2fe0 Remove virtual events 2021-10-21 16:53:00 +02:00
6f8b46e753 Rename channel NTHREADS by NRTHREADS 2021-10-21 16:53:00 +02:00
9d83a319b0 Remove unused cpu members and simplify comments 2021-10-21 16:53:00 +02:00
d8845acb9f Merge error states together 2021-10-21 16:53:00 +02:00
8d616e60b2 Merge nOS-V API events together in the doc 2021-10-21 16:53:00 +02:00
434bf40465 Improve CFG files
Added accurate titles, random mode and removed event flags.
2021-10-21 16:53:00 +02:00
5a940540d3 Use priority queue for streams and fast channels
A priority queue (in heap.h) is used to keep the next event ready in the
emulator loop. Additionally, a list of dirty channels is keept to
limit the complexity of the propagation and emit phases.
2021-10-21 16:53:00 +02:00
c2f7085e11 Fix prototypes and unused variables 2021-10-21 16:53:00 +02:00
55ae07403c Enable more strict warnings 2021-10-21 16:53:00 +02:00
2fbe95b4f7 Emit the PRV event via debug as well 2021-10-21 16:53:00 +02:00
b9f9ae1a59 Set the loom in the CPU 2021-10-21 16:53:00 +02:00
151f5a2b77 Set the loom in the process 2021-10-21 16:53:00 +02:00
8790ef5da9 Add utlist.h for double linked lists 2021-10-21 16:53:00 +02:00
Kevin Sala
e3b5ebce9a Updating documentation of nOS-V and TAMPI 2021-10-21 16:53:00 +02:00
Kevin Sala
52ba53ffda Gathering nOS-V API instrumentation as new subnamespace 2021-10-21 16:53:00 +02:00
50990b6ac9 Document emulator events 2021-10-21 16:53:00 +02:00
8f407d6ad2 Prefix subsystem values with "NOSV_" 2021-10-21 16:53:00 +02:00
351419a04d Simplify nosv subsystem enter-exit functions 2021-10-21 16:53:00 +02:00
78656ce83a Remove unused nosv ss 2021-10-21 16:53:00 +02:00
8ff3359c34 Add experimental OpenMP support 2021-10-21 16:53:00 +02:00
Kevin Sala
bb035e5f80 Fixing TAMPI's Paraver configuration file 2021-10-21 16:53:00 +02:00
Kevin Sala
a7463723bc Adding TAMPI instrumentation 2021-10-21 16:53:00 +02:00
Kevin Sala
162245e955 Reorder trace looms by hostname (workaround) 2021-10-21 16:53:00 +02:00
Kevin Sala
d2a349e895 Fixing scheduling events' identifiers 2021-10-21 16:53:00 +02:00
Kevin Sala
7def854b8b Adding subsystem states for some nOS-V API calls
This commit includes states for the nosv_pause, nosv_yield,
and nosv_waitfor and nosv_scheduling_point API calls.
2021-10-21 16:53:00 +02:00
f1fa68e4df Allow inter-process remote affinity events
A thread can change the affinity of another thread if is running in a
different process, as long as it is in the same loom.
2021-10-21 16:53:00 +02:00
11b85f03c2 Add extern C guards in ovni.h 2021-10-21 16:53:00 +02:00
ac6013419b Replace class by category to avoid C++ problems 2021-10-21 16:53:00 +02:00
019668ac53 Use local bursts per thread 2021-10-21 16:53:00 +02:00
1d4796521b Add cooling and warming states 2021-10-21 16:53:00 +02:00
c822f70e6f Add nosv CPU subsystem config 2021-10-21 16:53:00 +02:00