<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Shane Snyder pushed to branch dev-modular at <a href="https://xgitlab.cels.anl.gov/darshan/darshan">darshan / darshan</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://xgitlab.cels.anl.gov/darshan/darshan/commit/0459f8ffc08951d813fc320a581bdd5fe4b4da31">0459f8ff</a></strong>
<div>
<span>by Shane Snyder</span>
<i>at 2015-09-25T15:34:13Z</i>
</div>
<pre class='commit-message'>add a partial flag to darshan's header

this indicates whether the log file is complete or only partially
written</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
darshan-log-format.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
darshan-runtime/lib/darshan-core.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://xgitlab.cels.anl.gov/darshan/darshan/commit/0459f8ffc08951d813fc320a581bdd5fe4b4da31#diff-0'>
<strong>
darshan-log-format.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/darshan-log-format.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/darshan-log-format.h
</span><span style="color: #aaaaaa">@@ -99,6 +99,7 @@ struct darshan_header
</span>     char version_string[8];
     int64_t magic_nr;
     unsigned char comp_type;
<span style="color: #000000;background-color: #ddffdd">+    unsigned char partial_flag;
</span>     struct darshan_log_map rec_map;
     struct darshan_log_map mod_map[DARSHAN_MAX_MODS];
 };
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://xgitlab.cels.anl.gov/darshan/darshan/commit/0459f8ffc08951d813fc320a581bdd5fe4b4da31#diff-1'>
<strong>
darshan-runtime/lib/darshan-core.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/darshan-runtime/lib/darshan-core.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/darshan-runtime/lib/darshan-core.c
</span><span style="color: #aaaaaa">@@ -1566,9 +1566,14 @@ void darshan_core_register_record(
</span>     {
         /* record not found -- add it to the hash if we aren't already tracking the
          * maximum number of records
<span style="color: #000000;background-color: #ffdddd">-         */               
</span><span style="color: #000000;background-color: #ddffdd">+         */
+  
</span>         if(darshan_core->rec_count >= DARSHAN_CORE_MAX_RECORDS)
         {
<span style="color: #000000;background-color: #ddffdd">+            /* if we are already tracking the max records, set a flag to indicate
+             * that this log file has partial results
+             */
+            darshan_core->log_header.partial_flag = 1;
</span>             DARSHAN_CORE_UNLOCK();
             return;
         }
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://xgitlab.cels.anl.gov/darshan/darshan/commit/0459f8ffc08951d813fc320a581bdd5fe4b4da31">View it on GitLab</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://xgitlab.cels.anl.gov/darshan/darshan/commit/0459f8ffc08951d813fc320a581bdd5fe4b4da31"}}</script>
</p>
</div>
</body>
</html>