Add note about benchmarking.
[libguestfs-talks.git] / 2020-frama-c / 2700-range-size-1.html
1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
4
5 <h1>qemu range_size()</h1>
6
7 <pre class="code">
8   /* Get the size of range. */
9   static inline uint64_t range_size(const Range *range)
10   {
11       return range->upb - range->lob + 1;
12   }
13 </pre>