Skip to content

Profiling msync and header commit#337

Merged
bosilca merged 2 commits intoICLDisco:masterfrom
therault:profiling-msync-and-header-commit
Mar 22, 2022
Merged

Profiling msync and header commit#337
bosilca merged 2 commits intoICLDisco:masterfrom
therault:profiling-msync-and-header-commit

Conversation

@therault
Copy link
Copy Markdown
Contributor

@therault therault commented Mar 8, 2022

Closes Issue #334

@therault therault requested a review from bosilca as a code owner March 8, 2022 18:36
@therault therault force-pushed the profiling-msync-and-header-commit branch 2 times, most recently from 41c13ed to c9565ea Compare March 8, 2022 20:56
therault added 2 commits March 8, 2022 16:19
…normal interruptions.

The reader will only open files that contain a specific string (PARSEC_PROFILE_MAGICK) at a specific position in the header of a binary profile file.

Move the setting of that string into the header from the initialization of the file to after the file is consistent. This way, if the process is aborted and the file is only partially written, the reader will refuse to open it.
@therault therault force-pushed the profiling-msync-and-header-commit branch from c9565ea to 153aafd Compare March 8, 2022 21:20
@bosilca bosilca merged commit 4fe2d37 into ICLDisco:master Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants