X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=tools%2Fanalysis.ipynb;h=a91b2f4a1cbb0c35f8e26a8b1b2fbd99f1ce5be6;hp=0c9967411422806d6d8babd186bf443f03e8d59b;hb=03cc1b0a0d0705e0b1d92e13fdb18608c7a00272;hpb=ea748154f1bc7dbc81cb52611a52865e63109439 diff --git a/tools/analysis.ipynb b/tools/analysis.ipynb index 0c99674..a91b2f4 100644 --- a/tools/analysis.ipynb +++ b/tools/analysis.ipynb @@ -30,38 +30,13 @@ "cell_type": "code", "collapsed": false, "input": [ - "import sys\n", - "import os\n", - "import time\n", - "import subprocess\n", - "from progressbar import * # From ipython github site\n", - "from IPython.core.display import Image\n", - "from IPython.display import display, clear_output" + "from common import *" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 2 }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "options = {\n", - " \"real_names\" : [\"single\", \"double\", \"long\", \"virtual\", \"Rational_GMPint\", \"Rational_Arbint\", \"mpfrc++\", \"iRRAM\", \"ParanoidNumber\", \"GMPrat\"],\n", - " \"ipdf_src\" : \"../src/\",\n", - " \"ipdf_bin\" : \"../bin/ipdf\",\n", - " \"local_bin\" : \"./\",\n", - " \"ignore\" : [\"virtual\", \"Rational_Arbint\", \"iRRAM\", \"ParanoidNumber\"],\n", - " \"test\" : [\"single\", \"double\", \"GMPrat\"],\n", - " \"built\" : []\n", - "}" - ], - "language": "python", - "metadata": {}, - "outputs": [], - "prompt_number": 3 - }, { "cell_type": "markdown", "metadata": {}, @@ -105,9 +80,9 @@ "cell_type": "code", "collapsed": false, "input": [ - "p = ProgressBar(len(options[\"test\"]))\n", + "p = ProgressBar(len(options[\"tobuild\"]))\n", "p.animate(0)\n", - "for (i,b) in enumerate(options[\"test\"]): #options[\"real_names\"]:\n", + "for (i,b) in enumerate(options[\"tobuild\"]): #options[\"real_names\"]:\n", " if b in options[\"ignore\"]:\n", " continue\n", " try:\n",