  <span class="k">def</span> <span class="nf">getRuntime</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Calculating the total amount of runtime taken by the mining process</span>
<span class="sd">        :return: returning total amount of runtime taken by the mining process</span>
<span class="sd">        :rtype: float</span>
<span class="sd">        &quot;&quot;&quot;</spa