[WIP] Adaptive output: logger
No need to read my commit yet, I am only starting on it (still some bugs, a few things to implement and need to run format.sh)
Merge request reports
Activity
@matthieu, I would. By encapsulating all the functionality in a single task type we can keep the code separate from the rest and avoid sprinkling changes throughout the other tasks.
It's also a good way for @lhausammann to learn about tasks
The task part is almost done (maybe not yet done nicely, but working). I have created a new task as @nnrw56 suggested.
As long I am using only one thread, I should be safe from parallel bugs and should be able to solve all theses problems "easily".
@matthieu Ok I will do. (I will deal with current conflicts later)
176 178 c->kick1 = scheduler_addtask(s, task_type_kick1, task_subtype_none, 0, 0, 177 179 c, NULL); 178 180 181 if (is_logger) 182 c->logger = scheduler_addtask(s, task_type_logger, task_subtype_none, 0, 0, Added 380 commits:
- 9885c716...582d0fec - 379 commits from branch
master
- f5dd70aa - Start working on logger
- 9885c716...582d0fec - 379 commits from branch
Added 277 commits:
- 8766c3f4...c5368d3c - 274 commits from branch
master
- 92ca5190 - Start working on logger
- 8a322cc5 - Add index file writing.
- 8aea5b8c - Compute correctly the number of task
Toggle commit list- 8766c3f4...c5368d3c - 274 commits from branch
480 480 struct part *restrict p, struct xpart *restrict xp) { 481 481 482 482 p->time_bin = 0; 483 p->last_offset = 0; Unable to load the diff Not yet! Thanks (sorry, I forgot to answer your messages ><)
Edited by Loic Hausammann
Can I suggest to not add content to
single_io.c
? I'd rather have this file dump a snapshot and not be altered. Also if you start your own set of i/o files then you don't have to rely on the same mechanism and hence won't be limited by the usage ofxpart
vs.part
.Also, can we leave
active.h
as it is and move the new functions tologger.h
(for instance)? I am trying to minimize the overlap of these changes with the rest of the code for now.Edited by Matthieu Schaller