Commit Graph

175 Commits

Author SHA1 Message Date
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
3f22afc4b3 Handle all events with CPU and thread channels 2021-10-21 16:53:00 +02:00
cd430a35ce Implement tracking channels in emu.c 2021-10-21 16:53:00 +02:00
6b83789460 Add CPU channels 2021-10-21 16:53:00 +02:00
dd1567e0ec Add support for tracking modes in channels 2021-10-21 16:52:51 +02:00
d6afd5c528 Use a table to convert channel ids to PRV types 2021-10-21 16:39:36 +02:00
0f09a3a514 Write the thread PCF file 2021-10-21 16:36:07 +02:00
8d043a8350 Keep a global list of threads and CPUs 2021-10-21 16:34:04 +02:00
5f4fe7f120 Prefix emulator input events with >>> 2021-10-21 16:28:37 +02:00
fbfbb8fc0f Introduce channels 2021-10-21 16:15:29 +02:00
13e6eabf33 Move PRV event types to emu.h 2021-10-21 16:08:03 +02:00
d4246c1c24 Check snprintf return value 2021-10-21 16:05:31 +02:00
28fa152169 Add preliminar nosv CPU subsystem support 2021-10-21 16:05:01 +02:00
e8f4060370 Add raw autocpu prv emit function 2021-10-21 15:55:40 +02:00
5efcbfa626 Fix missing parameter in err() 2021-09-28 19:32:16 +02:00
abdbd8d64c Add virtual events 2021-09-28 19:32:16 +02:00
af22678b07 Close PCF files on exit 2021-09-28 19:32:16 +02:00
2bd589ee9e Prefix error messages with "error: " 2021-09-28 19:32:16 +02:00
f232b915a6 Ensure the expected state was in the stack 2021-09-28 19:32:16 +02:00
c846e03899 Add allocation subsystem 2021-09-28 19:32:16 +02:00
b60c6da764 Emit sched fake events as well 2021-09-28 19:32:16 +02:00
9b39e4d69e Add raw prv ev method to specify the time 2021-09-28 19:32:16 +02:00
31e3f1218f Add nos-v scheduler subsystem events 2021-09-28 19:32:16 +02:00
10b14a90a3 Allocate the traces in the heap 2021-09-28 19:32:16 +02:00
6a3ea0907a Enable pedantic and use C11 std 2021-09-28 19:30:31 +02:00
13b270a00b Implement verbose option in ovnisync 2021-09-28 15:19:31 +02:00
fc51fb80fd Enable optimization flags by default 2021-09-28 15:17:38 +02:00
864e4392d3 Support multiple nodes in test_speed 2021-09-28 12:30:58 +02:00
b9568cb052 Fix ovnisync table parsing 2021-09-28 12:22:56 +02:00
3a0541e5fa Check malloc error 2021-09-21 19:17:58 +02:00
Kevin Sala
8b78baa587 Fixing ovni for multiple nodes (workaround) 2021-09-21 15:15:26 +02:00
e80bcdd224 Avoid TID collisions searching only in cur_proc 2021-09-21 15:15:26 +02:00
67a9b8f319 Implement drift detection and add plot script 2021-08-19 20:34:09 +02:00
Kevin Sala
cf829f3630 Fixing ovnisync tool 2021-08-16 12:29:54 +02:00
755f2e84f3 Use 64 bit clock to prevent overflows
Large offsets between nodes may overflow the previous 48 bit clock
leading to an incorrect reconstructed clock value after the correction
with the 64 bit offset.
2021-08-11 11:50:07 +02:00
60d6bbb337 Avoid printing the metadata to stdout 2021-08-10 14:00:04 +02:00
a7c03179db Allow a remote affinity event in a running thread 2021-08-10 12:46:45 +02:00
aa3607f744 Fix emu memset initialization 2021-08-10 12:38:55 +02:00
Kevin Sala
9ea58831cd Increasing maximum number of procs and threads 2021-08-10 10:18:40 +02:00
Kevin Sala
674716804a Avoiding stack overflows 2021-08-10 10:18:21 +02:00
Kevin Sala
543dd51d8f Fixing compilation errors 2021-08-10 10:16:41 +02:00
1da0f1a096 Generate PCF and ROW files 2021-08-03 20:47:02 +02:00